ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Passing a value from command line (https://www.excelbanter.com/excel-programming/323397-passing-value-command-line.html)

M Carothers

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

NickHK

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




Michel Pierron

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



NickHK

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






All times are GMT +1. The time now is 03:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com