+ Reply to Thread
Results 1 to 2 of 2

Export as PDF every iteration of worksheet based on data validation list

  1. #1
    Registered User
    Join Date
    04-12-2019
    Location
    Melbourne
    MS-Off Ver
    2016
    Posts
    2

    Export as PDF every iteration of worksheet based on data validation list

    Hi I have a worksheet I want to export to PDF that changes based on data validation of a list of say 100 different customer numbers.

    I want 1 file per customer number to export to PDF automatically - I don't want to have to rename in the Save As box each time.

    Here is some code but I get error at the next.

    Any ideas?

    Please Login or Register  to view this content.
    'or, if you see where it record the file name, you can use the
    'xName variable to populate the name...how to do this?
    Last edited by kewellh; 04-12-2019 at 09:25 PM.

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Export as PDF every iteration of worksheet based on data validation list

    Reade the attached file (also on the forum) and use CODE tags
    http://www.excelforum.com/misc.php?do=bbcode#code
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 01-14-2018, 11:04 AM
  2. Dependant ActiveX Combo Box list based on Data Validation List
    By spalmer28 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-12-2014, 07:57 AM
  3. [SOLVED] Combo Box list filling and export the selected data to another worksheet
    By Sailaja A in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-21-2014, 11:59 AM
  4. Activate worksheet based on a column value selected from validation list
    By jnbroek in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-11-2013, 11:05 PM
  5. Worksheet Change to copy from a sheet based on values from data validation list
    By Onenguyen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2012, 10:23 AM
  6. Replies: 3
    Last Post: 04-11-2011, 05:52 PM
  7. Replies: 1
    Last Post: 04-15-2005, 07:07 PM

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