+ Reply to Thread
Results 1 to 6 of 6

How to Trigger the Change_Event without actually changing the value of a cell

  1. #1
    Registered User
    Join Date
    05-31-2013
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    83

    How to Trigger the Change_Event without actually changing the value of a cell

    Hey,

    I have a function that is triggered by a change event, I want to be able to iterate through a column of cells triggering the change event row by row. I don't want to actually change the cell contents I simply want to trigger the change event as im trying to use it as a refresh button.

    hope that makes sense

    Thanks

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: How to Trigger the Change_Event without actually changing the value of a cell

    Quote Originally Posted by JamesGoulding85 View Post
    hope that makes sense
    not really-why can't you call the function directly instead of the change event?
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: How to Trigger the Change_Event without actually changing the value of a cell

    Or, if it's a UDF, calculate.
    If posting code please use code tags, see here.

  4. #4
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: How to Trigger the Change_Event without actually changing the value of a cell

    How about using the selection change event?

  5. #5
    Registered User
    Join Date
    05-31-2013
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    83

    Re: How to Trigger the Change_Event without actually changing the value of a cell

    Hi all thanks for the responses, after relooking at my code I have realised that what I have done is not possible anyway, probably due to bad coding on my part as im new I have intwinned the change event and the function module meaning one can not operate without the other so pointless having a separate module. I will have to reconfigure it all to be standalone and will then just recall the function.

    Thanks

  6. #6
    Registered User
    Join Date
    05-31-2013
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    83

    Re: How to Trigger the Change_Event without actually changing the value of a cell

    Hi all thanks for the responses, after relooking at my code I have realised that what I have done is not possible anyway, probably due to bad coding on my part as im new I have entwined the change event and the function module meaning one can not operate without the other so pointless having a separate module. I will have to reconfigure it all to be standalone and will then just recall the function.

    Thanks

+ 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: 5
    Last Post: 12-19-2012, 11:05 AM
  2. [SOLVED] Combobox with Change_Event
    By Hilton1982 in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 11-24-2012, 12:01 PM
  3. Trigger Macro when changing format of a cell
    By jleno in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-09-2012, 10:20 PM
  4. trigger a macro when changing a cell
    By marcospaterson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2008, 07:27 PM
  5. Change_event to add AM or PM
    By czywrg in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-21-2007, 10:07 AM

Tags for this Thread

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