Hi All,
This is something that appears to have been answered elsewhere but all the solutions aren't working.
I'm trying to open a text file and apply my template to it (contains a macro). Doing the command Start Excel ReportTest.xlt ReportData.txt
just loads excel twice.
The following doesn't return a string so I can't read off the arguements:
Dim CmdLine As String
CmdLine = GetCommandLineA
same with this:
Dim CmdLine As String
CmdLine = GetCommandLine
I'm using Windows XP Pro and Excel 2000
Can anyone help!? I'm totally stuck.... This code will actually be called from C# so I MUST use a command line.
Thanks! Tim
This is something that appears to have been answered elsewhere but all the solutions aren't working.
I'm trying to open a text file and apply my template to it (contains a macro). Doing the command Start Excel ReportTest.xlt ReportData.txt
just loads excel twice.
The following doesn't return a string so I can't read off the arguements:
Dim CmdLine As String
CmdLine = GetCommandLineA
same with this:
Dim CmdLine As String
CmdLine = GetCommandLine
I'm using Windows XP Pro and Excel 2000
Can anyone help!? I'm totally stuck.... This code will actually be called from C# so I MUST use a command line.
Thanks! Tim