Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Passing a value from command line

I am trying to pass a value into an excel workbook to populate a cell within
a worksheet. The value is dynamic and will create a worksheet by inserting
the value passed to a data query.
--
Thanks in advance for the help
Var The Stick
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Passing a value from command line

M,
AFAIK you cannot read Excel's command line arguments.
That leaves you 3 options:
1. Use automation, open workbook, straight forward process
2. Use ADO, no need to open, but could be tricky depending on your layout
3. Use the older Macro format. Never used it.

NickHK

"M Carothers" wrote in message
...
I am trying to pass a value into an excel workbook to populate a cell

within
a worksheet. The value is dynamic and will create a worksheet by inserting
the value passed to a data query.
--
Thanks in advance for the help
Var The Stick



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 214
Default Passing a value from command line

Look:
http://www.google.fr/groups?hl=fr&lr....phx.gbl#link4

MP

"M Carothers" a écrit dans le message
de ...
I am trying to pass a value into an excel workbook to populate a cell

within
a worksheet. The value is dynamic and will create a worksheet by inserting
the value passed to a data query.
--
Thanks in advance for the help
Var The Stick


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Passing a value from command line

Michel,
I stand corrected. Good to know.

NickHK


"Michel Pierron" wrote in message
...
Look:

http://www.google.fr/groups?hl=fr&lr...5a7f0&s eekm=
Od3YRGRDFHA.1296%40TK2MSFTNGP10.phx.gbl#link4

MP

"M Carothers" a écrit dans le

message
de ...
I am trying to pass a value into an excel workbook to populate a cell

within
a worksheet. The value is dynamic and will create a worksheet by

inserting
the value passed to a data query.
--
Thanks in advance for the help
Var The Stick




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
Command line switches - possible Niniel Excel Discussion (Misc queries) 0 August 17th 07 01:53 AM
Q: command line in OE JIM.H. Excel Discussion (Misc queries) 0 May 30th 05 10:48 PM
Passing Values From Command Buttons Scott Excel Programming 6 February 18th 04 09:21 PM
passing parameters from command line Albrecht Hesmert Excel Programming 5 February 11th 04 03:20 PM
DOS Command Line Chris Excel Programming 5 October 2nd 03 02:06 PM


All times are GMT +1. The time now is 11:12 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"