ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Next function? (https://www.excelbanter.com/excel-programming/313599-next-function.html)

John Keturi

Next function?
 
I have a cell which uses the "VLOOKUP" function. Is there a way I could
assign a macro to a cmd button, which would search for the next occurance of
the "lookup value", and then refresh or display it in the same or a
different cell?



Tom Ogilvy

Next function?
 
Look in Excel VBA helps for the FindNext command. Look at the code example.
This will show you how to find multiple instances of a search term.

--
Regards,
Tom Ogilvy

"John Keturi" wrote in message
news:q7Gbd.28479$hj.25638@fed1read07...
I have a cell which uses the "VLOOKUP" function. Is there a way I could
assign a macro to a cmd button, which would search for the next occurance

of
the "lookup value", and then refresh or display it in the same or a
different cell?






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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com