We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

MS Word help

Hi there,

Can anyone help with this one? I would like to find out if there is a way to 'print all' embedded objects in my word document.

We constantly get sent agenda's with other word docs, spreadsheets, etc embedded in them - but I can't find a way to print all without having to open them all and print individually.

I've searched thru the microsoft help pages and to email them to ask this question they want £35 :eek:

Any help gratefully accepted.
Thanks, lisa
:think: If you want the rainbow, you've gotta put up with the rain :hello:

Comments

  • Chippy_Minton
    Chippy_Minton Posts: 3,339 Forumite
    It can be done with a bit of VBA programming. The following code should get you started, but will need some experimentation/debugging and might not work for all embedded types:
    Sub print_embedded_objects()
    
    Dim thisInlineShape As InlineShape
    
    For Each thisInlineShape In ActiveDocument.InlineShapes
        If thisInlineShape.OLEFormat.ClassType <> "Package" Then
            thisInlineShape.Activate
            ActiveDocument.PrintOut
            ActiveDocument.Close
        End If
    Next
    
    End Sub
    
    Open one of your documents with embedded objects, then press Alt+F11 to open the Visual Basic editor and paste the code into ThisDocument in your document project. Press F8 to step into the macro and again to run each line of code. Once you're satisfied that it works, you can set things up to run the macro on the current document by clicking a toolbar icon.
  • Thanks, I'll give that a go
    :think: If you want the rainbow, you've gotta put up with the rain :hello:
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.2K Reduce Debt & Boost Income
  • 455.1K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 603K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.