Debug/compile filename wrong?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This is a strange issue - my filename is FileV2, but when I go to compile
the code, I go to Debug, Compile and next to the word Compile is the old
filename FileV1. Where is the old filename being stored? Why isn't it
showing Compile FileV2?
Thanks,
Angela
 
That's the project name - it defaults to the original file name but isn't
changed when you rename the file. You can change it to the new file name (or
something else if you prefer, it doesn't have to match the file name) by
selecting, from the "Tools" menu in the VBA editor, "Options" then
"ProjectName Properties" (where "ProjectName" is your existing project name,
i.e., your old file name.
 
Thanks, Brendan!

Brendan Reynolds said:
That's the project name - it defaults to the original file name but isn't
changed when you rename the file. You can change it to the new file name (or
something else if you prefer, it doesn't have to match the file name) by
selecting, from the "Tools" menu in the VBA editor, "Options" then
"ProjectName Properties" (where "ProjectName" is your existing project name,
i.e., your old file name.
 

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

Back
Top