If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Rename pages makes VBA to not function
Hello All,
I am working on a project that I have created macros to auto-export the pages in the visio project to emf files whenever a save event is registered. The problem that I found today was when I renamed the pages to what I wanted them to be, they retained the previous name. Is there any way to fix it so that it is the correct name for the VBA macro to function properly? I am using Visio Professional 2003 (11.3216.8221) Thanks, Jeff |
#2
|
|||
|
|||
Rename pages makes VBA to not function
On Thu, 14 May 2009 13:45:02 -0700, j2206943s
wrote: Hello All, I am working on a project that I have created macros to auto-export the pages in the visio project to emf files whenever a save event is registered. The problem that I found today was when I renamed the pages to what I wanted them to be, they retained the previous name. Is there any way to fix it so that it is the correct name for the VBA macro to function properly? Visio pages have two names, a Name and a NameU, see http://blogs.msdn.com/visio/archive/...27/679625.aspx You macro might be using the NameU, the Name might be more appropriate. -- Regards, Paul Herber, Sandrila Ltd. Visio Utilities http://www.visio-utilities.sandrila.co.uk/ |
#3
|
|||
|
|||
Rename pages makes VBA to not function
Hi Paul,
Thanks for the reply. I read the article you provided. My next question: Is there any way to force visio to change the name? Or should I just start a new visio project and create the pages with the names I want to use? Thanks, Jeff "Paul Herber" wrote: On Thu, 14 May 2009 13:45:02 -0700, j2206943s wrote: Hello All, I am working on a project that I have created macros to auto-export the pages in the visio project to emf files whenever a save event is registered. The problem that I found today was when I renamed the pages to what I wanted them to be, they retained the previous name. Is there any way to fix it so that it is the correct name for the VBA macro to function properly? Visio pages have two names, a Name and a NameU, see http://blogs.msdn.com/visio/archive/...27/679625.aspx You macro might be using the NameU, the Name might be more appropriate. -- Regards, Paul Herber, Sandrila Ltd. Visio Utilities http://www.visio-utilities.sandrila.co.uk/ |
#4
|
|||
|
|||
Rename pages makes VBA to not function
On Fri, 15 May 2009 09:31:02 -0700, j2206943s
wrote: Hi Paul, Thanks for the reply. I read the article you provided. My next question: Is there any way to force visio to change the name? Or should I just start a new visio project and create the pages with the names I want to use? You can write a macro to force the page Name and NameU to be identical or you can use a utility I've written that will do the job (and many others) at http://www.visio-utilities.sandrila.co.uk/ -- Regards, Paul Herber, Sandrila Ltd. Electronics for Visio http://www.electronics.sandrila.co.uk/ |
Thread Tools | |
Display Modes | |
|
|