+ Reply to Thread
Results 1 to 3 of 3

Dynamic Row Color Change w/ checkbox

  1. #1
    Registered User
    Join Date
    12-23-2008
    Location
    Ohio
    Posts
    2

    Dynamic Row Color Change w/ checkbox

    I havent done any VBA stuff since 99, so amazing to what one can forget.

    Im looking to have checkboxes on say rows 1-50 and if that check box is check, the entire row through a range of say A1:J1 turns to green.

    Any help with this would be great not even sure if I have a good starting point working, i keep getting a debug on If checkbox1.value = True Then. Thought this was a simple line, but its fighting me.

    Working in 07.

    Thanks!
    enjoy the holidays!

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    This old thread may help

    http://www.excelforum.com/excel-prog...nge-macro.html

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    I wouldn't use checkboxes. Use the double click event and this code
    Please Login or Register  to view this content.
    To add it to your worksheet, do the following:

    Copy the code
    Select the worksheet in which you want bthe code to run
    Right click on the sheet tab and choose View Code, to open the Visual Basic Editor.
    Where the cursor is flashing, choose Edit | Paste
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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