LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default I want to highlight multiple cells using VB

I've looked all over and can't seem to figure out how to do this...

Cells A1:A100 have data
I want to have a button that when clicked, searches A1:A100
for the text in the current Active Cell.
Then, have it select each cell that matches.

Example: B1 has the word "blah"
B1 is selected.
A1:A100 have various words, but A5 and A8 have the word "blah"
I want to click on the button, and have A5 and A8 be selected as if
I had held CTRL and clicked on A5 and A8.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare multiple cells and highlight differences ez Excel Discussion (Misc queries) 5 July 10th 09 08:03 PM
multiple cells highlight instead of one Debbie60 Excel Discussion (Misc queries) 2 March 3rd 09 10:55 AM
how to highlight more related cells if cell highlight Jon Excel Discussion (Misc queries) 5 December 21st 08 01:06 PM
Highlight multiple findings in Excel Rick >. Excel Discussion (Misc queries) 4 August 15th 06 09:45 PM
Highlight cells with ctrl-click but only un-highlight one cell hagan Excel Discussion (Misc queries) 5 May 27th 05 06:45 PM


All times are GMT +1. The time now is 11:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"