+ Reply to Thread
Results 1 to 6 of 6

SelectionChange

  1. #1
    Valued Forum Contributor
    Join Date
    10-17-2007
    Location
    Tasmania, Australia
    MS-Off Ver
    2019, 365(v2403)
    Posts
    370

    SelectionChange

    Hello,

    I have found the below VBA code and it works a charm.

    Please Login or Register  to view this content.
    However, I have column headings that are shaded, and the above removes all shading from the worksheet. Which part do I need to modify to allow the top few rows to have their own colours? Rows 1:10 have heading(filled with colour) and picklists
    Last edited by davesexcel; 02-12-2013 at 10:16 PM. Reason: code tags required

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,524

    Re: SelectionChange

    Looking at your code, it appears you want to Highlight the Row and Column of the active cell.

    Although this is a cool function, there are undesired results.

    This only works best if no other cells have formats that you want to keep, even copy and paste will not work for this.

  3. #3
    Valued Forum Contributor
    Join Date
    10-17-2007
    Location
    Tasmania, Australia
    MS-Off Ver
    2019, 365(v2403)
    Posts
    370

    Re: SelectionChange

    Thank you so much for your reply, so I am guessing there is no work around for this?

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,524

    Re: SelectionChange

    That is a good assumption.

  5. #5
    Valued Forum Contributor
    Join Date
    10-17-2007
    Location
    Tasmania, Australia
    MS-Off Ver
    2019, 365(v2403)
    Posts
    370

    Re: SelectionChange

    Bugga... Thank you very much for taking the time to reply and edit my post, will remember code tags not quote tags next time

  6. #6
    Valued Forum Contributor
    Join Date
    10-17-2007
    Location
    Tasmania, Australia
    MS-Off Ver
    2019, 365(v2403)
    Posts
    370

    Re: SelectionChange

    Bugga... Thank you very much for taking the time to reply and edit my post, will remember code tags not quote tags next time

+ 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