ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   If X and Y then Replace Y (https://www.excelbanter.com/excel-programming/379190-re-if-x-y-then-replace-y.html)

excel-ant

If X and Y then Replace Y
 
You may need to add the following line at the start

Dim c as range.

since c.Offset means nothing if c is not a range/cell.

http://www.excel-ant.co.uk



All times are GMT +1. The time now is 05:25 PM.

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