ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   If statement in a Macro (https://www.excelbanter.com/excel-discussion-misc-queries/10509-if-statement-macro.html)

Dave

If statement in a Macro
 
Can a Macro have an if statement in it?

I need to remove highlighting in a column if the value in a certain cell
equals a certain value. Is this possible to do in a Macro?

Thanks

Don Guillett

if range("a1")=4 then do your trick

--
Don Guillett
SalesAid Software

"Dave" wrote in message
...
Can a Macro have an if statement in it?

I need to remove highlighting in a column if the value in a certain cell
equals a certain value. Is this possible to do in a Macro?

Thanks





All times are GMT +1. The time now is 07:24 PM.

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