Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do you change the 'find within' option in Find/Replace macro?
If you have selected 'within workbook' but want only search a selected set of cells in a macro. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
dim ran as range
set ran = Activesheet.range("A1:A10").find(what:="SearchData ",Lookat:=xlwhole) if not ran is nothing then 'data found else 'data not found end if you can change range to what ever range you need -- When you lose your mind, you free your life. Ever Notice how we use '' for comments in our posts even if they aren''t expected to go into the code? "CVL" wrote: How do you change the 'find within' option in Find/Replace macro? If you have selected 'within workbook' but want only search a selected set of cells in a macro. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find & Replace: find part cell, replace whole cell | Excel Worksheet Functions | |||
Find and Replace - Replace with Blank Space | Excel Discussion (Misc queries) | |||
Copy contents of Find (Find and Replace) | Excel Discussion (Misc queries) | |||
where to put results of find operation in find and replace functio | Excel Worksheet Functions | |||
find and replace - replace data in rows to separated by commas | Excel Worksheet Functions |