+ Reply to Thread
Results 1 to 3 of 3

How to call a macro when clicking in a specific cell from you personal macro workbook?

  1. #1
    Registered User
    Join Date
    06-20-2014
    Location
    Oregon
    MS-Off Ver
    2007
    Posts
    2

    How to call a macro when clicking in a specific cell from you personal macro workbook?

    This is the code I use to call a macro when the macro Im calling is in the same workbook.

    Please Login or Register  to view this content.
    However, I would like to call this same macro when using another workbook. I copied the macro "Clearformating" and pasted into a personal macro workbook module. However when I add this code to the sheet tab it will not run the macro.

    I also tried this code.

    Please Login or Register  to view this content.
    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: How to call a macro when clicking in a specific cell from you personal macro workbook?

    This works:=

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-20-2014
    Location
    Oregon
    MS-Off Ver
    2007
    Posts
    2

    Re: How to call a macro when clicking in a specific cell from you personal macro workbook?

    Awesome, Thanks so much. I was working in that direction but left out the "Then" part.

    Thanks for the help.

+ 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: 08-13-2014, 05:46 PM
  2. Replies: 1
    Last Post: 06-30-2013, 05:58 PM
  3. Perform macro "on open" specific file- store macro in Personal Macro Workbook?
    By thompssc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-17-2012, 12:38 PM
  4. Call a macro from your personal workbook?
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-30-2008, 02:17 PM
  5. [SOLVED] Call a sub statement in "Personal Macro Workbook" from "ThisWorkbo
    By QC Coug in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2005, 03:05 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