Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there any way to search parts of a spreadsheet? As it is now I search a
spreadsheet for certain words like this: Set rng5 = Worksheets("Beräkning").Cells.Find("Market value RC", LookIn:=xlValues) Is it possible to search etc. only the five first rows, the third column etc? I have to do this variably so I cannot record a macro for this. Please help me! Thanks! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Arne,
You can specify any range to search: Set rng5 = Worksheets("Beräkning").Range("A3:89").Find(...etc NickHK "Arne Hegefors" wrote in message ... Is there any way to search parts of a spreadsheet? As it is now I search a spreadsheet for certain words like this: Set rng5 = Worksheets("Beräkning").Cells.Find("Market value RC", LookIn:=xlValues) Is it possible to search etc. only the five first rows, the third column etc? I have to do this variably so I cannot record a macro for this. Please help me! Thanks! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Great thanks! What I really want to do is to search the spreadsheet except
for certain ranges. Is this possible? Thank you!!!! "NickHK" skrev: Arne, You can specify any range to search: Set rng5 = Worksheets("Beräkning").Range("A3:89").Find(...et c NickHK "Arne Hegefors" wrote in message ... Is there any way to search parts of a spreadsheet? As it is now I search a spreadsheet for certain words like this: Set rng5 = Worksheets("Beräkning").Cells.Find("Market value RC", LookIn:=xlValues) Is it possible to search etc. only the five first rows, the third column etc? I have to do this variably so I cannot record a macro for this. Please help me! Thanks! |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Arne,
AFAIK, there nothing that is the opposite of UNION, so I guess you would have build your range from the ranges that you do want. e.g. Dim SearchRange as Range Set SearchRange = UNION(Range("1:5"),Range("C:C"),,,etc Set rng5 = Worksheets("Beräkning").SearchRange.Find(...etc NickHK "Arne Hegefors" wrote in message ... Great thanks! What I really want to do is to search the spreadsheet except for certain ranges. Is this possible? Thank you!!!! "NickHK" skrev: Arne, You can specify any range to search: Set rng5 = Worksheets("Beräkning").Range("A3:89").Find(...etc NickHK "Arne Hegefors" wrote in message ... Is there any way to search parts of a spreadsheet? As it is now I search a spreadsheet for certain words like this: Set rng5 = Worksheets("Beräkning").Cells.Find("Market value RC", LookIn:=xlValues) Is it possible to search etc. only the five first rows, the third column etc? I have to do this variably so I cannot record a macro for this. Please help me! Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy parts of a data range into a new spreadsheet | Excel Worksheet Functions | |||
Search Spreadsheet for a name | Excel Discussion (Misc queries) | |||
Search Spreadsheet - Results in either listbox or new spreadsheet | Excel Programming | |||
How do I create shortcuts to take me to parts of a spreadsheet? | Excel Discussion (Misc queries) | |||
Add Search Box to Spreadsheet | Excel Programming |