+ Reply to Thread
Results 1 to 6 of 6

Change Event Handler

  1. #1
    Forum Contributor
    Join Date
    02-11-2009
    Location
    Montclair, NJ
    MS-Off Ver
    Excel 365
    Posts
    224

    Change Event Handler

    Hey,

    I'm working on this project right now and I'm at a point where I need help with VBA

    What I'm hoping to do is, by using the Change Event Handler, I'm looking to change the "Hour Type" from "P" to "I" (or "I" to "P") and have it's corresponding Default Values change accordingly. Please see the attachment for a better description of what I'm looking for

    Thank you SOOOO much, I really appreciate your time and efforts,
    Bob
    Attached Files Attached Files
    Last edited by sighlent1; 02-15-2011 at 11:47 AM. Reason: modified title slightly

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Change (Event Handler) - VBA Needed

    Perhaps along the lines of:

    Please Login or Register  to view this content.
    above takes into consideration the fact that more than one cell can be updated simultaneously (and need not all reside within your defined named ranges)

  3. #3
    Forum Contributor
    Join Date
    02-11-2009
    Location
    Montclair, NJ
    MS-Off Ver
    Excel 365
    Posts
    224

    Re: Change Event Handler

    Thank you SOOOO much DonkeyOte

    That's EXACTLY what I am looking for!!!

  4. #4
    Forum Contributor
    Join Date
    02-11-2009
    Location
    Montclair, NJ
    MS-Off Ver
    Excel 365
    Posts
    224

    Re: Change Event Handler

    Ohhh, I'm sorry

    My Default Values are going to be variable

    Is there a way to have the Array be the specific cells as opposed to values?

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Change Event Handler

    It would of course be better to use contiguous ranges for the default values but based on the example:

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    02-11-2009
    Location
    Montclair, NJ
    MS-Off Ver
    Excel 365
    Posts
    224

    Re: Change Event Handler

    Awesome, This is PERFECT......Thank you!!!!!!

+ 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