Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default find values and identifying cell-adress

I would like write a macro that finds a certain text on an Excel-spreadsheet
and then display the adress of the cell(s) containing the specified
information in another cell. Help anyone?
--
banker
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default find values and identifying cell-adress


dim rng as range
dim findVal as string
set rng = worksheets(1).cells.find(what:=findVal,lookat:=xlw hole)
msgbox rng.address
range("a1")=rng.address


--
anusha2525
------------------------------------------------------------------------
anusha2525's Profile: http://www.excelforum.com/member.php...o&userid=35408
View this thread: http://www.excelforum.com/showthread...hreadid=551771

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
Identifying matched cell values TrevorB Excel Discussion (Misc queries) 4 January 16th 09 09:38 PM
Return cell adress for next non-blank cell in a range toreadore Excel Worksheet Functions 1 June 28th 06 12:37 PM
How do I put an adress in a cell in multiple lines?? Jill Excel Discussion (Misc queries) 5 June 21st 06 02:09 AM
VBA: Find and adress cell Maria[_7_] Excel Programming 4 March 17th 05 04:25 PM
Find value and adress acces[_6_] Excel Programming 1 January 23rd 04 12:42 PM


All times are GMT +1. The time now is 11:51 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"