View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bill[_39_] Bill[_39_] is offline
external usenet poster
 
Posts: 11
Default Passing a Reference in VBA

Hello,
I want to pass a argument to a macro to run. I have tried
application.run but can only pass numerical values. I need to pass a
string. I have been told you can add a reference in VBA to the
appropriate .xla file and was able to invoke public methods to pass the
arguments of the appropriate type. He said go to tools, references and
then add a reference.

Does anyone know how to do this?

Thanks,

Bill

*** Sent via Developersdex http://www.developersdex.com ***