Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Excel 2000 Find without select VBA

I'm trying to create a small function that returns the column number of the
Result of a Find. But I don't want to Activate or Select the result of the
Find. Is there a way to do this? Google search through Groups and Web
Pages was vague to say the least.

cheers,
Matt.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Excel 2000 Find without select VBA

Matt,

Try something like

Dim ColNum As Integer
ColNum = Cells.Find(what:="whatever").Column


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Matt." wrote in message
...
I'm trying to create a small function that returns the column

number of the
Result of a Find. But I don't want to Activate or Select the

result of the
Find. Is there a way to do this? Google search through Groups

and Web
Pages was vague to say the least.

cheers,
Matt.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Excel 2000 Find without select VBA

Thank you Chip!

Exactly what I needed!

cheers,
Matt.

"Chip Pearson" wrote in message
...
Matt,

Try something like

Dim ColNum As Integer
ColNum = Cells.Find(what:="whatever").Column


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Matt." wrote in message
...
I'm trying to create a small function that returns the column

number of the
Result of a Find. But I don't want to Activate or Select the

result of the
Find. Is there a way to do this? Google search through Groups

and Web
Pages was vague to say the least.

cheers,
Matt.






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
Find duplicates in Excel 2000 Harriet Excel Discussion (Misc queries) 2 May 20th 09 09:40 PM
where can i find Formulas for excel 2000? Mrs.S.Paul Excel Worksheet Functions 1 February 24th 06 12:35 PM
In Excel 2000, How do you select the whole of a worksheet (Select. Rascal Excel Discussion (Misc queries) 1 March 5th 05 12:03 AM
In Excel 2000, How do you select the whole of a worksheet (Select. Rascal Excel Discussion (Misc queries) 1 March 4th 05 11:59 PM
Excel 2000 VBA: select filled cells for printing aaabart Excel Programming 1 September 4th 03 02:08 PM


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