Solved

Conform several graphs/charts copied into MS Word to same size and format

Posted on 2013-01-02
3
464 Views
Last Modified: 2013-01-02
Hello, I have several graphs/charts that were created in MS Excel that I've copied into a MS Word document and now need to conform all of the graphs/charts so that they are the same size (height/width) and format. Is anyone aware of a process or macro or utility that could do that for me? Thanks in advance...
0
Comment
Question by:jaguar5554
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
Flyster earned 500 total points
ID: 38738507
Try this macro. Just change the height and width values to meet your needs.
Sub FormatShapes()
Dim i, x As Integer

i = ActiveDocument.InlineShapes.Count
    For x = 1 To i
        With ActiveDocument
            .InlineShapes(x).Height = 115.2
            .InlineShapes(x).Width = 220.3
        End With
    Next x
End Sub

Open in new window

Flyster
0
 

Author Closing Comment

by:jaguar5554
ID: 38738687
That is amazing! Thank you so much!
0
 
LVL 22

Expert Comment

by:Flyster
ID: 38738783
Happy to be of service!
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
My experience with Windows 10 over a one year period and suggestions for smooth operation
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

863 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

21 Experts available now in Live!

Get 1:1 Help Now