LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Will only open with FileOpen Command qforgues Excel Discussion (Misc queries) 0 January 11th 11 05:59 PM
Command line to open a specific worksheet vIQleS Excel Worksheet Functions 2 December 1st 06 12:46 AM
can i save an existing .xls file as a .csv file using command line craigkan Excel Discussion (Misc queries) 2 February 18th 05 02:01 PM
Load DBF file into Excel on command line? prospects Excel Discussion (Misc queries) 0 January 30th 05 12:39 AM
Open .txt, Save as .xls from command line Dave Peterson[_3_] Excel Programming 2 June 24th 04 02:53 AM


All times are GMT +1. The time now is 02:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"