Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default How to Get Excel Command Line Programmatically

Is there a way to access the command line used to launch Excel from VBA code
in the workbook?

- Drew
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to Get Excel Command Line Programmatically


are you looking for the excels path?


--
funkymonkUK
------------------------------------------------------------------------
funkymonkUK's Profile: http://www.excelforum.com/member.php...o&userid=18135
View this thread: http://www.excelforum.com/showthread...hreadid=556630

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default How to Get Excel Command Line Programmatically


No, I want to get the command line arguments.

- Drew

"funkymonkUK" wrote:


are you looking for the excels path?


--
funkymonkUK
------------------------------------------------------------------------
funkymonkUK's Profile: http://www.excelforum.com/member.php...o&userid=18135
View this thread: http://www.excelforum.com/showthread...hreadid=556630


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 210
Default How to Get Excel Command Line Programmatically

You can use the shell command


--
http://HelpExcel.com
1-888-INGENIO
1-888-464-3646
x0197758


"Drew Lettington" wrote:


No, I want to get the command line arguments.

- Drew

"funkymonkUK" wrote:


are you looking for the excels path?


--
funkymonkUK
------------------------------------------------------------------------
funkymonkUK's Profile: http://www.excelforum.com/member.php...o&userid=18135
View this thread: http://www.excelforum.com/showthread...hreadid=556630


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default How to Get Excel Command Line Programmatically

IIRC, there were problems with some versions of windows (but I'm not sure IRC!):

http://groups.google.co.uk/group/mic...ca75a8220396ce

or

http://snipurl.com/sfy3

(If you search google newsgroups (in the *excel* newsgroups), you'll find lots
of attempts.)

I searched for "command line" with the quotes.

Drew Lettington wrote:

Is there a way to access the command line used to launch Excel from VBA code
in the workbook?

- Drew


--

Dave Peterson
Reply
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
What are the possible command-line arguments in Excel? d2reason Excel Discussion (Misc queries) 2 June 4th 07 09:39 PM
Excel command line Jef Gorbach Excel Programming 5 June 29th 05 04:01 AM
Run Excel Macro from Command Line Al Franz Excel Programming 3 June 13th 05 08:18 AM
Create a two-line header programmatically Jeanne Conroy Excel Programming 1 November 24th 04 03:37 PM
Command line parameters to Excel Tom Walker Excel Programming 3 May 23rd 04 06:08 AM


All times are GMT +1. The time now is 01:24 AM.

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

About Us

"It's about Microsoft Excel"