+ Reply to Thread
Results 1 to 7 of 7

Monitor specific cells for change

  1. #1
    Registered User
    Join Date
    05-07-2014
    Location
    Prescott, AZ
    MS-Off Ver
    Excel 2007
    Posts
    35

    Monitor specific cells for change

    I have this code that works well for the entire column, but, I only need to monitor every other cell in the columns. the cells I want to monitor are:

    B10, 12, 14...B96. the columns to be monitored are B,F,J,N,R. the column part is good. I don't want the pop up box to appear when I change B9, B11, B13 etc...

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Monitor specific cells for change

    If WorksheetFunction.IsEven(Target.Row) And Target.Row > 9 And Target.Row < 97 Then ...
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    05-07-2014
    Location
    Prescott, AZ
    MS-Off Ver
    Excel 2007
    Posts
    35

    Re: Monitor specific cells for change

    Object doesn't support this object or method. run time error '438'

    I'm sure I get this error because of placement of the supplied line. I tried it above the "Select Case" block and above the "If Target.Cells(1).Value <> "" Then"

    ??????

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Monitor specific cells for change

    The below code compiles and runs w/o errors:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    05-07-2014
    Location
    Prescott, AZ
    MS-Off Ver
    Excel 2007
    Posts
    35

    Re: Monitor specific cells for change

    I still get the same error. Here is all of the code associated with this sheet. And I attached the sheet as well.

    when cell D10 is filled with a selection from the list, it should pop up a window to ask how many hours. this should not happen for any other non even cell, see previous post.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-07-2014
    Location
    Prescott, AZ
    MS-Off Ver
    Excel 2007
    Posts
    35

    Re: Monitor specific cells for change

    Does it matte that I'm using Excel 2002?

  7. #7
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Monitor specific cells for change

    IsEven may not be available in 2002, so try:
    Please Login or Register  to view this content.

+ 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. macro to monitor cell change
    By fintaneduffy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-17-2014, 07:07 PM
  2. VBA Worksheet Change to monitor column and then hardcode row.
    By wendie1970 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-05-2012, 06:01 PM
  3. [SOLVED] CELL & TEXT COLORS DO NOT CHANGE ON MY PC MONITOR
    By COLOR PROBLEMS in forum Excel General
    Replies: 2
    Last Post: 01-19-2006, 01:25 PM
  4. monitor cell that uses data validation list for change
    By rgarber50 in forum Excel General
    Replies: 2
    Last Post: 08-01-2005, 01:15 AM
  5. Monitor file change
    By bhofsetz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-31-2005, 01:27 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