ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   offset macro based on multiple criteria (https://www.excelbanter.com/excel-discussion-misc-queries/159208-offset-macro-based-multiple-criteria.html)

davemon

offset macro based on multiple criteria
 
A little help needed from the gurus.........
I need the following to happen:
If in any row, the value in column 15 equals "trade" and the value in column
17 equals either "r" or "w", then offset(0,2).select.

Thanks in advance
Dave

Don Guillett

offset macro based on multiple criteria
 
Look in the vba help index for FIND and combine with IF and OFFSET

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"davemon" wrote in message
...
A little help needed from the gurus.........
I need the following to happen:
If in any row, the value in column 15 equals "trade" and the value in
column
17 equals either "r" or "w", then offset(0,2).select.

Thanks in advance
Dave




All times are GMT +1. The time now is 08:21 PM.

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