View Single Post
  #1   Report Post  
acwai acwai is offline
Junior Member
 
Posts: 4
Default can I use IF statement to call a VBA function ?

I have used the code in here to create a function called Alarm

http://spreadsheetpage.com/index.php...a_cells_value/

I can get it to play a sound by using =alarm(a1,"2") to test whether a1 is 2

Can I use an IF statement to trigger the function alarm ?

Thanks !

Last edited by acwai : April 13th 12 at 04:06 AM