Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 73
Default Find in another sheet

Hi All,

How can I use find in a defined range in another sheet using VBA?

for Eg. If I run my code from sheet1 and without activaing sheet2 I
want to search for a word within range "MyRange"

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Find in another sheet

try this idea that will find it from anywhere in the workbook.

Sub findinnamedrange()
MsgBox Range("MyRange").Find("whatever").Address
End Sub
--
Don Guillett
SalesAid Software

"Soniya" wrote in message
ups.com...
Hi All,

How can I use find in a defined range in another sheet using VBA?

for Eg. If I run my code from sheet1 and without activaing sheet2 I
want to search for a word within range "MyRange"

Thanks



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
how can find sheet on workbook have so many sheet ? Huy Nguyen Excel Worksheet Functions 1 November 22nd 07 08:45 AM
find last row in a sheet Janis Excel Discussion (Misc queries) 3 November 7th 07 03:21 AM
Find data from one sheet in another sheet [email protected] Excel Worksheet Functions 3 August 21st 06 07:08 PM
how to find and copy values on sheet 2, based on a list on sheet 1 evanmacnz Excel Programming 4 February 7th 05 08:33 PM
Find changes and add them to the new sheet sg[_4_] Excel Programming 0 October 27th 04 09:59 PM


All times are GMT +1. The time now is 09:35 AM.

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"