LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Call Statement caldog Excel Programming 4 January 11th 10 11:28 PM
Using the Call Statement caldog Excel Programming 2 January 9th 10 02:59 PM
Variable in call statement donwb Excel Programming 12 April 11th 09 10:18 PM
Call Statement and Return Value [email protected] Excel Programming 3 September 28th 05 08:56 PM
Can you call a macro as in an IF statement kls[_2_] Excel Programming 2 September 11th 04 10:48 PM


All times are GMT +1. The time now is 06:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"