+ Reply to Thread
Results 1 to 3 of 3

Report Printing Macro Help

  1. #1
    Registered User
    Join Date
    04-03-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Report Printing Macro Help

    I am very new to Macros and VBA and this is my first post on the forum so please forgive me if it is in the wrong place.

    I am trying to use a macro in excel 2010 to save over 300 individual quarterly reports as independently named PDFs for our clients. This macro should select a name from a data validation list in cell G1, which populates the reports, and then save an array of sheets as a pdf. I would like for it to name the pdf file using the value in G1.


    This is the code I am using to print and save the PDF files.
    Please Login or Register  to view this content.
    I believe the the save function works but what I cannot figure out is how to get the macro to cycle through the data validation list giving enough time to populate each client's quarterly report before printing it. Each time I try it only prints one and never changes the value in cell G1 I tried to add some time delays but they did not help at all.

    Thanks for any help you can give me.

    My entire code albeit wrong:

    Please Login or Register  to view this content.
    Last edited by jdevans8899; 04-04-2012 at 09:50 AM. Reason: add code designations

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Report Printing Macro Help

    Try this:

    Please Login or Register  to view this content.

    NOTE: You should edit your post #1 and add code tags, like I've shown here in this post. (instructions in my signature)

    Read through the Forum Rules (link above)... lots of useful tips.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    04-03-2012
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Report Printing Macro Help

    Great help it works.

+ 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