Jump to content
Sign in to follow this  
xtremaxs

Delimited TextToColumns

Recommended Posts

xtremaxs

Has anyone figured out how to perform delimited TextToColumns on a comma?

Share this post


Link to post
Share on other sites
BrettF
xtremaxs

No. Peforming a texttocolumn by comma when manipulating excel from autoit. I have a CSV file and I need to perform texttocolumns to parse it out.

Share this post


Link to post
Share on other sites
BrettF

Well that is where explaining exactly what your problem is helps.

Have you had a look at Excel.au3?

Also, please post your code, it allows us to help much easier.

Brett

Share this post


Link to post
Share on other sites
xtremaxs

I figured people would automatically know what Text To Columns means and yea I check the Excel.au3. It doesn't have anything related to TextToColumns in it. I check this posting http://www.autoitscript.com/forum/index.php?showtopic=34302&hl=texttocolumns&st=330 but it doesnt work. As far as code, all I have is the code that opens the excel document and selects column A.

CODE
$oExcel = ObjCreate("Excel.Application")

With $oExcel

.Visible = 1

.Workbooks.Open(@DesktopDir & "\*********.xls", Default, False)

.ActiveWorkbook.Sheets(1).Select()

EndWith

$oExcelWs1 = $oExcel.ActiveWorkbook.Sheets(1)

$oExcel.Range("A:A").Select

Edited by xtremaxs

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.