Can I create an Environmrnt String from a Variable

  • Thread starter Thread starter Scott A. Will
  • Start date Start date
S

Scott A. Will

I create a variable in an Access function. From Access I
invoke a MS Excel Macro. I want to pass the variable from
the function to the Excel Macro.

Since an excel macro can not use variables from an access
function I thought I could write the variable to an
environment string and then call the environment string
from the macro.

So with this said:
Can I create an Environmrnt String from a Variable?

Please advise
 
I'm not sure you can create global environment variables, and any variable
that you created in your Access session wouldn't be available to other
sessions.

Can you use Automation to invoke the Excel macro, passing it a value when
you do?
 
Back
Top