+ Reply to Thread
Results 1 to 4 of 4

Enabling current macro to work on current sheet it resides

  1. #1
    Registered User
    Join Date
    09-23-2018
    Location
    Nebraska
    MS-Off Ver
    excel 2016
    Posts
    6

    Enabling current macro to work on current sheet it resides

    Hi Everyone,

    Right now I have a mass print macro set up with VBA. I currently have it set to print the "Template" sheet when I press the OK command button. I want to copy my template tab (like I did for Preseason Tab) and be able to utilize the same macro on whatever the new sheet is. I think its just a small Active Sheet switch, but I am a little lost. I put my excel sheet as an attachment. Thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,619

    Re: Enabling current macro to work on current sheet it resides

    Hi,
    this shall be enough (see blue added/changed lines):
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    09-23-2018
    Location
    Nebraska
    MS-Off Ver
    excel 2016
    Posts
    6

    Re: Enabling current macro to work on current sheet it resides

    Kaper,

    The changes work just fine. I appreciate your help.

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,619

    Re: Enabling current macro to work on current sheet it resides

    Glad to hear that, and thanks for marking thread solved and for reputation point.

+ 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. Request help to change my current macro code to work for all worksheet in a workbook
    By CloudXiang in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-25-2017, 11:00 PM
  2. [SOLVED] Set PivotTable Filter to Current Day, Current Week, Current Month, or Current Year
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2014, 08:31 AM
  3. Macro on current sheet
    By graiggoriz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-02-2013, 12:39 PM
  4. Macro to sort an activity sheet by current week and current + last 1 and 2 weeks
    By engineering_excel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-13-2011, 11:28 AM
  5. How to use this macro on current sheet?
    By KroogerFx in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-13-2009, 04:23 PM
  6. Macro for Graphing Current Sheet?
    By Losse in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-05-2005, 08:37 AM
  7. Using a macro to copy current row to another sheet
    By mkalavitz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-19-2005, 11:03 PM

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