Read variables from external file

D

Daniel Köster

Hello again averyone,

How do I kame a macro read some of its variables from an external file? The
thing is that I need the user to be able to change some basic values in the
macro, like pathnames and stuff.

I would like to have a txt file with the contents:
variable1 = "c:\work\myfile.xls"
variable2 ="yes"
variable3 = "1978"
and then let the macro get the varibles and there value from that file.

I know how to do it in Macromedia flash.. :)

--
--------------------------------------------------------
Daniel Köster
TEKNOTRANS AB
Redegatan 13
426 77 Västra Frölunda
Sweden
Tel: +46 31 69 47 60
Fax: +46 31 69 47 65
E-mail: (e-mail address removed)
http://www.teknotrans.com
 
D

Daniel Köster

Hi Tom, Thanks for the reply!

I´ll try that, should work fine!

Best Regards
Daniel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Convert array 3

Top