A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Visio
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Rename pages makes VBA to not function



 
 
Thread Tools Display Modes
  #1  
Old May 14th, 2009, 09:45 PM posted to microsoft.public.visio.general
j2206943s
external usenet poster
 
Posts: 2
Default 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  
Old May 14th, 2009, 10:31 PM posted to microsoft.public.visio.general
Paul Herber
external usenet poster
 
Posts: 1,732
Default 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  
Old May 15th, 2009, 05:31 PM posted to microsoft.public.visio.general
j2206943s
external usenet poster
 
Posts: 2
Default 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  
Old May 16th, 2009, 05:27 PM posted to microsoft.public.visio.general
Paul Herber
external usenet poster
 
Posts: 1,732
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.