Visio Guy
September 08, 2010, 10:35:13 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: mass editing of visio shape text  (Read 598 times)
0 Members and 1 Guest are viewing this topic.
visioN00b
Newbie
*
Posts: 7


View Profile
« on: January 30, 2010, 12:06:25 PM »

Hello,

First I'd like to say I learned so much in the last hour reading this forum. Excellent forum!

Visio 2003

I have a visio drawing representing a network. The network diagram is very detailed and includes numbers for all of the cables. During the design process, many features change in the network topology and as a result cables are added and deleted.  At the end of the design phase, I may have deleted dozens of cables resulting in breaks in the cable number sequence. This sounds rather simple, but manually editing 3,000 to 8,000 cables can be a very time consuming task. The time is much better spent on server, routing, and switching configs.

For the time being, my work around is to export the data to an excel spreadsheet and then just drag down the columns to place to cable numbers back in sequence. Of course, I have not been able to link the excel spreadsheet so that it updates visio drawing, which requires I go back and renumber the cables in the visio drawing manually. (ouch)

My question, is there an easy way to maintain the sequence of cable numbers (in shape text) once I am forced to delete or add a line representing a cable?

Is there someway to have changes in the spreadsheet be reflected in the visio drawing? I have been unable to make this happen. I am assuming the other approach is using some sort of script or macro, but I have no experience with macros and what little VB I have done was years ago in college.

If a macro is the best approach, I have the following scenario. What you see in quotes would be my shape text:

"Cable #2310" has to be deleted, so I need "Cable #2311" to become "Cable #2310", "Cable #2312" to become "Cable #2311", etc. etc..

If any of you could help I would be most appreciative.

Thank you!
Logged

Visit the Visio Guy web site at www.visguy.com for hundreds more articles on Visio!

visioN00b
Newbie
*
Posts: 7


View Profile
« Reply #1 on: January 30, 2010, 06:44:41 PM »

Update

I discovered a tool under add ons that allows you to number shapes in sequence by clicking on them. This is exactly what I need to do, but this only applies to shapes. In all cases my cables are represented by lines or connectors.  Huh
Logged

Visit the Visio Guy web site at www.visguy.com for hundreds more articles on Visio!

visioN00b
Newbie
*
Posts: 7


View Profile
« Reply #2 on: January 30, 2010, 07:09:20 PM »

When I export my visio drawing to excel is there are way to link the two, so that when I edit the shape.text column in excel, it updates the visio drawing?

Thanks and my apologies for the flurry of posts.
Logged
aledlund
Sr. Member
****
Posts: 356


View Profile
« Reply #3 on: January 31, 2010, 08:07:25 AM »

I believe the database wizard will allow you to roundtrip a drawing's data with excel. Anything much beyond what it supplies will require custom coding.
al
Logged
visioN00b
Newbie
*
Posts: 7


View Profile
« Reply #4 on: February 02, 2010, 08:10:09 PM »

Thanks for your response aledlund, I did a little more tinkering with the database wizard and figured out how to make it work. I am running into the same problem as the gentleman in the post below. The database wizard either allows you to link all the shapekeys to a default value, or you can select none. Either way, linking the shapekeys requires a right click and then manually linking the shape to the excel worksheet. I'm not sure if anything has changed since the post below, but this pretty much kills my idea. Manually linking 8000 shapes is as bad as manually editing the shape text, which is what I was trying to avoid.

Again, thanks for your help.

http://visguy.com/vgforum/index.php?topic=1235.0

Edit:

Al, I also saw you were involved in this thread on another forum, same problem I am having. Thanks.

http://help.wugnet.com/office2/Link-existing-data-drawing-database-refresh-ftopict847691.html
« Last Edit: February 02, 2010, 08:31:03 PM by visioN00b » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!