WinBatch® Technical Support Forum

Archived Boards => COM Automation and dotNet => Topic started by: mjwillyone on September 16, 2013, 08:53:31 AM

Title: Excel variable needed in Winbatch routine
Post by: mjwillyone on September 16, 2013, 08:53:31 AM
Friends,

I have created an Excel macro that uses a user input line to prompt the user for a variable.   The macro uses that variable.  I would also like Winbatch to have be able to use the same variable.

The variable is named BatchNumber in Excel.

Can this be done?

Thank you,
Mike
Title: Re: Excel variable needed in Winbatch routine
Post by: Deana on September 16, 2013, 09:05:48 AM
Are you looking to launch the WinBatch script from your Excel macro? If so maybe pass it as a command line parameter to the WinBatch script. Please explain.