Get FileName Value

M

Marcos Pinto

Hi All

I would like to use the BeforeSave event to validate the file name. How I get the file name in the Name textbox (Save to Project Server window)

Thanks
Marcos Pinto
 
G

Gérard Ducouret

Hello Marcos,

Have you tried :

MsgBox ActiveProject.Name
ActiveProject.SaveAs

Hope this helps,

Gérard Ducouret [Project MVP]
PragmaSoft ® - Paris

Marcos Pinto said:
Hi All,

I would like to use the BeforeSave event to validate the file name. How I
get the file name in the Name textbox (Save to Project Server window)?
 
M

Marcos Pinto

It not helps very much because it gives "Project1" instead of the string enter by the user in the form "Save As
Do you have more ideas to solve this little big problem

Thanks
Marcos Pinto
 
J

JackD

I mentioned earlier that if you want to control the name you can simply
cancel the save-as and bring up a save-as form with the name that you want.

-Jack

Marcos Pinto said:
It not helps very much because it gives "Project1" instead of the string
enter by the user in the form "Save As"
 

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