Jump to content

Recommended Posts

Posted

Microsoft offers the COM (Component Object Model) for Excel. AutoIt allows to access Excel via COM. So the help file for Excel COM can be found searching MS (Excel 2007 can be found here and Excel 2010 here).

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

Failing that, you can also use the AutoItX.DLL file inside Excel, if you're more comfortable with VBA scripting.

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Posted

  On 4/9/2012 at 8:02 PM, 'Reg2 said:

Is there a reason why you don't just open the txt files with Excel? If not, I suggest doing so to simplify your code. You can specify which row to start appending the data from your text file in the Excel file with a delimiter of your choice. Afterwards, you can add your row descriptions with a column insert.

I didn't know that I could do that. I did try it and but all the data is vertical and not horizontal.

RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

Posted

If you want to attempt to use the method of Excel opening your text files for your solution you could try these two options:

1 - Create a quick script to change the CRLF to tabs and your ";" to CRLF in your text files. Excel will treat tabs in a text line the same as if you pressed it moving the active cell to the next adjacent cell (left to right) before assigning the string.

2 - Use Selection.PasteSpecial with corresponding parameters to cut and paste with transpose.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...