+ Reply to Thread
Results 1 to 2 of 2

Macro to select Print Areas in Excel to PowerPoint

  1. #1
    Registered User
    Join Date
    08-23-2009
    Location
    CA
    MS-Off Ver
    Excel 2007
    Posts
    26

    Macro to select Print Areas in Excel to PowerPoint

    Hi,
    I have a Forms Command Button w/ a Macro that copy/paste specific variables and range in the workbook to a pre-defined PowerPoint template file (in the same directory as the workbook file).

    This macro works but I would like the user to select from a check box window the Graphs or Tables from the Worksheets. The selection would drive the cut/paste to PowerPoint. Any ideas?

    Thanks in advance.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,468

    Re: Macro to select Print Areas in Excel to PowerPoint

    You need to create a userform that lists the available graphs and tables.

    You can use the shapes collection to loop through all the shapes on a sheet.
    Check their type and only add charts/tables to the listbox.

    Give the listbox Multiselect property and option style. This will give each item in the list a checkbox.
    Cheers
    Andy
    www.andypope.info

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1