Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default Search parts of a spreadsheet

I try to search part of a spreadsheet for a certain word. The code is:

Set rng1 = Worksheets("Beräkning").Cells.Find("Segment", LookIn:=xlValues)


Set rng5 = Worksheets("Beräkning").Range(Cells(rng1.Row, 1), Cells(3000,
100)).Find("Security ID", LookIn:=xlValues)

the first search works fine but the second does not. It is the Range(.. the
gives me problem it works without. However I have skipped some parts of the
code and it is necessary that I search only a certain area. How are you
supposed to write this? I really would appreciate help!!!!!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Search parts of a spreadsheet


Simply hide the rows and columns you don't want it to search into. This
can be done by code. You the Unhide them.


--
raypayette


------------------------------------------------------------------------
raypayette's Profile: http://www.excelforum.com/member.php...o&userid=29569
View this thread: http://www.excelforum.com/showthread...hreadid=563260

Reply
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
Copy parts of a data range into a new spreadsheet forest8 Excel Worksheet Functions 4 April 21st 08 08:26 PM
Search Spreadsheet for a name missy Excel Discussion (Misc queries) 2 December 13th 06 11:53 PM
Search parts on a spreadsheet Arne Hegefors Excel Programming 3 July 20th 06 12:13 PM
Search Spreadsheet - Results in either listbox or new spreadsheet Brandon Johnson Excel Programming 1 June 7th 06 03:19 PM
How do I create shortcuts to take me to parts of a spreadsheet? Patricia H. Excel Discussion (Misc queries) 4 October 28th 05 11:45 PM


All times are GMT +1. The time now is 02:30 PM.

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

About Us

"It's about Microsoft Excel"