Solved

Can I change the object in Visio

Posted on 2011-09-07
10
287 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 30

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 30

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
 

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 30

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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 30

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 30

Accepted Solution

by:
Scott Helmers earned 500 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 30

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

The Question Several times in recent years, someone has posted a question at EE asking whether they could display the Windows directory structure – folders and subfolders – using Visio. When one person specifically asked about displaying directory …
David Parker’s latest book, Microsoft Visio 2010: Business Process Diagramming and Validation, will give you the tools to turn flowcharts and other business diagrams into valuable, data-driven corporate assets. Armed with the knowledge you’ll gain f…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now