I have a spreadsheet that I'm trying to get sound output form when a certain value comes up in a cell. I have all the code for the sound output and it works fine when I type in that value, but when the value is created from my excel formula, the sound code doesn't work. I am assuming I need to put my formula into my VBA code, but I's not quite sure how to do it. My formula in the sheet is a nested If/Then statement. How do I write that in VBA code within my module and would I put it before or after the code for the sound output?
Here is my formula as it appears in the workbook: =IF(B1=C1,"MATCH", IF(B1="",(""),"NO MATCH"))
My exisitng code is:
Bookmarks