+ Reply to Thread
Results 1 to 2 of 2

Define Array from Listbox to enable ExportAsFixedFormat

  1. #1
    Registered User
    Join Date
    10-10-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    75

    Define Array from Listbox to enable ExportAsFixedFormat

    Hey folks

    This is my first post so hello to everyone.

    I have been tearing my hair out about this one - and i dont have much hair!

    I want to create a macro that will ...

    1) open a Userform with a listbox listing every sheet in the workbook
    2) from that listbox select the sheets i want to export
    3) click a button and automatically EXPORTASFIXEDFORMAT (in this case PDF) for the selected sheets

    I am planning on putting this in the 'PERSONAL' spreadsheet to enable this to work in ANY workbook, therefore the sheet names will constantly change.

    also the export has to combine the sheets and not do it individually.

    Please tell me if im asking too much from Excel!!

    TVM

  2. #2
    Registered User
    Join Date
    10-25-2012
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Define Array from Listbox to enable ExportAsFixedFormat

    Hello,

    Here is the code I use
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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