Macro for "If"

Copper Contributor

I want to have a macro that will take an action based on a name entered into a cell or take another action if there is different name entered in that cell.

 

For example: If cell a1 has Yellow entered, then one action is taken but if it has any other color or any other word, it would do something else.

 

Many thanks,

2 Replies

@Frank Drucker 

Please ask your question to Excel community https://techcommunity.microsoft.com/t5/excel/bd-p/ExcelGeneral here, this one to discuss the resource itself.

@Frank Drucker 

Hello! You've posted your question in the Community Discussion space, which is intended for discussion around the Tech Community website itself, not product questions. I'm moving your question to the Excel space - please post Excel questions here in the future.