Solved

Can I change the object in Visio

Posted on 2011-09-07
10
289 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

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
 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Bulk adding Shape Data to all connectors in Visio to export screen tips to excel 3 127
Logical Diagram of network in Visio 5 65
Visio , croping 4 69
Process mapping 5 51
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…
Book Review: Using Microsoft Visio 2010 by Chris Roth   Disclaimer: The author of Using Visio 2010 is a friend and fellow Visio MVP. Whether you’re new to Visio or are upgrading to Visio 2010 from a previous version, you will find a lot to like…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

806 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