+ Reply to Thread
Results 1 to 7 of 7

Saving multiple worksheets

  1. #1
    Registered User
    Join Date
    06-17-2016
    Location
    Rogers, AR
    MS-Off Ver
    10
    Posts
    9

    Smile Saving multiple worksheets

    Hi everyone!

    I have a macro that saves the first worksheet of a workbook based on specific cell information.

    Please Login or Register  to view this content.
    I would like to expand this macro to save the first and second worksheet, if there is data in a specific cell of the second worksheet.

    Any suggestions would be greatly appreciated.

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    Posts
    2,697

    Re: Saving multiple worksheets

    Hi there,

    See if the following code does what you need:

    Please Login or Register  to view this content.
    The highlighted values can be altered to suit your requirements.


    Hope this helps - please let me know how you get on.

    Regards,

    Greg M

  3. #3
    Registered User
    Join Date
    06-17-2016
    Location
    Rogers, AR
    MS-Off Ver
    10
    Posts
    9

    Re: Saving multiple worksheets

    Hi Greg,

    It worked, but now I have a new issue caused by adding the new code. Should I start a new post or continue on this one.

    Thank you for your help

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    Posts
    2,697

    Re: Saving multiple worksheets

    Hi again,

    Many thanks for your feedback - glad I was able to help.

    If the new issue has been caused by adding the above code then I imagine it's quite in order to ask the question in this thread.

    Regards,

    Greg M

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2016 (Win 10 - Work) & 365 Subscription (Win 10 - Home)
    Posts
    30,342

    Re: Saving multiple worksheets

    Yes, here is fine.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  6. #6
    Registered User
    Join Date
    06-17-2016
    Location
    Rogers, AR
    MS-Off Ver
    10
    Posts
    9

    Re: Saving multiple worksheets

    Thanks Greg. I enjoy this site because it helps me a lot and I don't want to do anything frowned upon

    I was writing the explanation and the solution was right there in front of me!! I fixed the second issue.

    Your code has saved me so much time!!!

    Thank you! Thank you! Thank you!!

  7. #7
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    Posts
    2,697

    Re: Saving multiple worksheets

    Hi again,

    Thanks for your latest post, and well done on fixing the second issue yourself!

    You're very welcome - I'm delighted that I was able to help.

    Regards,

    Greg M

+ 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