T
Torben B Haagh
I would like to set the name of the document in code. The Visio document
properties Name and FullName are get properties only, so they cannot be
used. I can live with having to do a save as, but that does not work for me
either.
Using Application.DoCmd(visCmdFileSaveAs) changes the document name, but
does not allow you to give an initial file name.
Using SaveFileDialog and Document.SaveAs or SaveAsEx lets you control the
initial name, but that does not change the name of the document (which I
believe is a bug).
Does anyone know how I can change the document name and control the initial
name?
Thanks,
Torben
properties Name and FullName are get properties only, so they cannot be
used. I can live with having to do a save as, but that does not work for me
either.
Using Application.DoCmd(visCmdFileSaveAs) changes the document name, but
does not allow you to give an initial file name.
Using SaveFileDialog and Document.SaveAs or SaveAsEx lets you control the
initial name, but that does not change the name of the document (which I
believe is a bug).
Does anyone know how I can change the document name and control the initial
name?
Thanks,
Torben