Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm using a VBS script to generate a CSV file.
I'd like to tune up the script in such a way that it will format the output so that it opens nicely in XL. To do so, I've recorded a macro for formatting the data, but the problem is that the file gets re-written each time I run the VBS script. I'd like to know if I can write the code from the XL macro directly into the VBS script. Anyone know how to do this? In the past, I've been able to open an existing spreadsheet and run an existing macro using a VBS script, but this is different, because the output file is overwritten each time the data is generated, so I can't store a macro inside the spreadsheet. I need to store the 'macro' inside the VBS code. Thanks! Sam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macros inside Excel | Excel Worksheet Functions | |||
solving inside macros | Excel Programming | |||
How do I refer to other macros inside a macro code? | Excel Programming | |||
Macros inside macros, and pasting into macro code. | Excel Programming | |||
Anyone know how to do an EXCEL Script - details inside | Excel Programming |