The following function does not work. I assume that the syntax: wb.Sheet(1).Cells.Find
is wrong. Any suggestions?
Any help will be appreciated!Please Login or Register to view this content.
Steven Craig Miller
The following function does not work. I assume that the syntax: wb.Sheet(1).Cells.Find
is wrong. Any suggestions?
Any help will be appreciated!Please Login or Register to view this content.
Steven Craig Miller
wb.Sheets(1).Cells
or (more appropriately)
wb.Worksheets(1).Cells
Entia non sunt multiplicanda sine necessitate
Thanks, that solved my problem!
I would like to ask a follow-up question.
As already noted, the first function (now, Thanks!) works fine, but I can't get the second to work. Can I use a Range with Find?
What am I doing wrong? rg.Cells.Find doesn't seem to work.Please Login or Register to view this content.
Any suggestions would be greatly appreciated.
Steven Craig Miller
the question goes to find parameters: LookIn, LookAt etc.
In function the result should be: Function name equals something, Set is not used
example of function that finds row the str is located in:
Please Login or Register to view this content.
Last edited by watersev; 02-25-2011 at 11:46 AM.
Yes, you can use Find within a range.
How are you trying to use this function? The use of ActiveCell is inappropriate; After must be a cell within the search range.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks