Andreas Hermle
asked on
Search for term in first row of current data list using VBA
Dear Experts:
I got an Excel makro that should be preceded with a code snippet. Here are the requirements for this snippet:
(1) Search for the Word 'Graphic' (Search only in the first row of the current worksheet, Match Entire Cell Contents) ,
(2) If not found, exit sub
(3) if found, go down that column till the macro hits the first occurrence of a non-blank cell, select this first occurrence.
Help is much appreciated. Thank you very much in advance.
Regards, Andreas
I got an Excel makro that should be preceded with a code snippet. Here are the requirements for this snippet:
(1) Search for the Word 'Graphic' (Search only in the first row of the current worksheet, Match Entire Cell Contents) ,
(2) If not found, exit sub
(3) if found, go down that column till the macro hits the first occurrence of a non-blank cell, select this first occurrence.
Help is much appreciated. Thank you very much in advance.
Regards, Andreas
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi rgonzo,
great this did the trick. Thank you very much for your professional help.
Regards, andreas
great this did the trick. Thank you very much for your professional help.
Regards, andreas
ASKER
Hi byundt:
Thank you very much for your professional help.
I should have refreshed before awarding points.
Excellent point, thank you for bringing this to my attention.
Regards, Andreas
Thank you very much for your professional help.
I should have refreshed before awarding points.
Excellent point, thank you for bringing this to my attention.
Regards, Andreas
Open in new window
Note that the Find method will ignore any cells that are hidden by a filter.