+ Reply to Thread
Results 1 to 2 of 2

Run macro of active workbook only

  1. #1
    Registered User
    Join Date
    10-23-2012
    Location
    Pune, India
    MS-Off Ver
    Excel 2003
    Posts
    1

    Run macro of active workbook only

    Hi,
    I have two workbook that have macros with same shortcut key. When I press shortcut to run macro of active workbook it run macro of previous open worksheet.

    Is there a way to keep both worksheet open and run macro from active sheet only?

  2. #2
    Registered User
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,164

    Re: Run macro of active workbook only

    Can you post your code here so we can see?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Run Macro in closed workbook and copy specific coloumn in active workbook
    By shiva_reshs in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-07-2013, 03:43 AM
  2. Replies: 2
    Last Post: 06-21-2013, 08:59 PM
  3. VBA macro for hyperlink to active workbook in the active workbook path
    By Scott Taylor in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-10-2013, 05:37 AM
  4. Macro to Print active sheet as PDF to Active workbook and customize name
    By Scott Taylor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-17-2012, 08:52 PM
  5. how to run macro from active workbook, without opening source workbook??
    By etminasm in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-06-2010, 09:34 AM

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