?
Solved

Can I change the object in Visio

Posted on 2011-09-07
10
Medium Priority
?
296 Views
Last Modified: 2012-05-12
When I drag and drop a .cfm file on a Visio 2007 page, it creates an icon, can I change that icon and make it bigger. If so, how?
0
Comment
Question by:overcolor
  • 6
  • 4
10 Comments
 
LVL 31

Expert Comment

by:Scott Helmers
ID: 36502791
I just did some experimenting and found a way, but it either requires tinkering with the ShapeSheet or writing a macro to do that for you.

The attached file shows several examples of larger sizes.

Are you familiar with modifying the ShapeSheet by hand? If so, I can provide instructions. If not, or if this is a frequent need and you'd like a macro to automate the change, please let me know.
Change-image-size-for-dropped-fi.vsd
0
 

Author Comment

by:overcolor
ID: 36505575
No I don't know much about ShapeSheet, but the size of the larger one on your file is what Im looking for
0
 
LVL 31

Expert Comment

by:Scott Helmers
ID: 36505659
Which of the larger sizes do you prefer? times 2, 3 or 4?

BTW, as you can probably see in the sample, the "text" is actually part of the image, so when you increase the size of the image, the text size increases as part of it. That's why in the bottom image, at X4 of the original, the text extends beyond the boundary of the shape that contains the image.

One final thought: I used whole multiples of the original. But if you want the size to be 2.5X of the original, or any other multiple, that's easy to do.
0
Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

 

Author Comment

by:overcolor
ID: 36505791
x4 but, when I drag a file onto a Visio page it puts the file name there, will this still do that?
0
 
LVL 31

Expert Comment

by:Scott Helmers
ID: 36506574
Yes, this is the standard behavior if you drag a file onto a Visio page. Visio creates an image that consists of an icon and the filename.
0
 
LVL 31

Expert Comment

by:Scott Helmers
ID: 36528822
Would you like a macro that allows you to resize the image and name of the file after you drop it?
0
 

Author Comment

by:overcolor
ID: 36530824
Yes please
0
 
LVL 31

Accepted Solution

by:
Scott Helmers earned 2000 total points
ID: 36539186
I've attached a new version of the file that contains the macro. On page 2 you'll find three dropped files. The macro will resize all selected shapes.

It's pretty simple-minded at this point without a lot of error checking.

If you want to change the multiplier (I used 4 as you requested), open the code editor (Alt+F11), look for the comment about changing the resize factor and enter a larger or smaller number.
Change-image-size-for-dropped-fi.vsd
0
 

Author Comment

by:overcolor
ID: 36554627
when I drop files on to page 2, I get nothing? Am I doing that right?
0
 
LVL 31

Expert Comment

by:Scott Helmers
ID: 36556706
The macro is not set up to run automatically when you drop a file onto the page. So after you drop a file, make sure the dropped shape is selected and then run the macro.
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A recent Visio zone question asked how to use the data in an Excel file to create a Visio Gantt chart -- and then to dynamically update the Gantt chart. The good news is that the Viso Gantt Chart wizard can be automated. The bad news is that the…
Scott A. Helmers Partner, Harvard Computing Group Microsoft Visio MVP Background Microsoft has added more enhancements and new features to Visio 2010 than to any release since they purchased the Visio product line in 2000. In addition, the com…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Loops Section Overview
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question