Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

how to trim Col0&Row0

$
0
0
[ autoit ]         
#include #include $sFilePath1 = @ScriptDir & "\TEP.HD#1.xlsx" ;This file should already exist $oExcel = _ExcelBookOpen($sFilePath1,@SW_MAXIMIZE) Send("{CTRLDOWN}{PGDN}{CTRLUP}") sleep (1000) $aArray = _ExcelReadSheetToArray($oExcel,1,1,41,4) ;Using Default Parameters _ArrayDisplay($aArray, "Array using Default Parameters") MsgBox(0, "Exiting", "Press OK to Save File and Exit") _ArrayToClip($aArray) ClipGet() _ExcelBookClose($oExcel) ; And finally we close out If @error = 1 Then MsgBox(0, "Error!", "Unable to Create the Excel Object") Exit ElseIf @error = 2 Then MsgBox(0, "Error!", "File does not exist - Shame on you!") Exit EndIf

Here is my Array result

Posted Image

How can I ?
- want to trim Row[0] and Col[0] that's added , i want to use only my data (Col1 Row 1)
- Copy Array to Clipboard

PS. i try to use
[ autoit ]      
and Paste on Notepad but nothing there

Thx so much

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>