Current Directory

M

MikeH2

How can I determine the current directory I am "pointing to"? Not the
directory that the current file came from but if I were to select File>Open,
what directory would come up. I need to save that location and later come
back to it.
 
F

FSt1

after thought
sub finddir()
msgbox curdir
range("a1").value = curdir
dim d as string
d = curdir
msgbox d
range("A2").value = d
end sub
 

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

Top