View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
sidibou - ExcelForums.com sidibou - ExcelForums.com is offline
external usenet poster
 
Posts: 4
Default Open a Template/CSV-File from the command line

Hi,

thank you for your help.
But I cannot benifit from your answer, because your Makro kills
Excel97.

this simplified Makro kills my Excel97 application:

Declare Function GetCommandLine Lib "kernel32" Alias "GetCommandLineA"
() As String

Sub Makro1()
Dim s As String
On Error Resume Next
s = GetCommandLine
MsgBox s
End Sub

Do I have a problem with my excel or it is a real problem?
Any help is appreciated and thanks in advance
---------
Message sent via www.excelforums.com