Naming a variable in a file path

R

Ron

I am trying to name a directory in a Save As path by using
a reference to a range for a directory name. This works
fine for creating a file name but not the directory part
of the path. Any suggestions?
 
T

Tom Ogilvy

mkdir "C:\My documents\ & Range("A1").Value

If you create a valid argument that would work with mkdir, you shouldn't
have a problem.
 

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