View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
emma emma is offline
external usenet poster
 
Posts: 1
Default how can I ..... ?

I have in Sheet1 in A1 the following

= "\\SharedDocs\Test01"
in A2 = "\\SharedDocs\Test02"

How can I in the code assign a variable to chage to that
directory

Now what I have to change the directory is:
ChDir "\\SharedDocs\Test01 "

but I want to have something like that :

ChDir "variable" (what it is in A1 for example)

thanks a lot
emma