+ Reply to Thread
Results 1 to 4 of 4

Using formulas to trigger macro

  1. #1
    Registered User
    Join Date
    06-17-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    31

    Question Using formulas to trigger macro

    Hi,

    I was wondering, if it is possible to use formulas to trigger macro e.g. if A1 = 1, use macro 1 and if A1 = 2, use macro 2 and so on...
    I have heard that the IF formula can do that but not sure if its true.

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Using formulas to trigger macro

    you can do this using a worksheet change event

    right click on the sheet's tab, select view code and paste this:

    Please Login or Register  to view this content.

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Using formulas to trigger macro

    Your question seems to be similar to this OPs requirement, just have a look in the below thread and check whether this helps

    http://www.excelforum.com/excel-prog...unmacro-y.html


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Registered User
    Join Date
    06-17-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: Using formulas to trigger macro

    Hi all,

    I am sorry as I would have to try this after my problem with macro and relative reference are fixed.
    Or maybe I can just create a few simple macro and try later today earliest.
    I will update/reply to this thread after I have tried the suggestions mentioned here. Thanks Sixthsense and NickyC. (No reps until I try! xD)
    Please make it easy for me to understand! Limit?!

+ 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