+ Reply to Thread
Results 1 to 9 of 9

Help popup window if condition is TRUE in change event if conditon is true

  1. #1
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    16

    Help popup window if condition is TRUE in change event if conditon is true

    I have following excel sheet.

    Pls help me with VBA Codes., IF condition is true then popup message window with Remark of corresponding columns.

    Example : if during market time if Google current price fall below 295 then message window will appear SELL : Day support is break.


    ===============================================================================
    Script--------------Current Price--------------Trigger Price---------------------Remark
    ===============================================================================
    Axis Bank--------------500----------------------502-----------------------Buy : Resistance Break
    Google-----------------300---------------------295-----------------------Sell : Day Support Break
    HCL--------------------850---------------------865-----------------------Buy : First Sunrise Confirm
    INFY------------------3215--------------------3150-----------------------Sell : Weekly Support Break



    Current Price will keep moving up / down in live market
    if current price > Triger price then popup window should come with BUY & Remark of that row
    if current price < Triger price then popup window should come with SELL & remark of that row
    Attached Files Attached Files
    Last edited by fanku; 07-07-2014 at 12:40 PM.

  2. #2
    Forum Contributor
    Join Date
    08-06-2012
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    119

    Re: Help popup window if condition is TRUE in change event if conditon is true

    Here is the code. Right click on the Sheet1 tab, click 'View Code' and paste it there:

    Please Login or Register  to view this content.
    Here is the workbook with the code already there. Book1.xlsm

  3. #3
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Help popup window if condition is TRUE in change event if conditon is true

    Thanks for prompt reply...

    This code is running...

    Can u pls help me .....can i get message box with OK button with BEEP sound.
    design one message box using form and show if condition is true...etc...

    its just an idea / suggestion,
    Last edited by fanku; 07-08-2014 at 10:23 AM.

  4. #4
    Forum Contributor
    Join Date
    08-06-2012
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    119

    Re: Help popup window if condition is TRUE in change event if conditon is true

    I'm sorry, I have never tried to add audio files to a worksheet in VBA. You would have to provide me with a audio file and tell me exactly where it is going to be saved on your computer if you wanted me to try that though.

    I'm also not sure what this means:
    design one message box using form and show if condition is true...etc...

  5. #5
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Help popup window if condition is TRUE in change event if conditon is true

    thanks once again for prompt reply.

    I have noticed following.

    1. Whenever condition is False then also message window appear.
    2. if i type anywhere in sheet then also message window appear.

    Pls note ...i will connect this sheet with live market with RTD function so current rate will keep changing automatically.

    so message window appear only if condition is true. in your code even condition is False message window is appearing.

    pls help...

  6. #6
    Forum Contributor
    Join Date
    08-06-2012
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    119

    Re: Help popup window if condition is TRUE in change event if conditon is true

    You will have to give me the condition you want for each line then. Your original post said if it to goes above the trigger show a popup to buy + the remark for that line, and if it goes below the trigger show a popup to sell + the remark for that line. You need to tell me the condition you want for each line if you want each line to have unique criteria.

  7. #7
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Help popup window if condition is TRUE in change event if conditon is true

    thanks brother...

    Lets be friends i m from india.

    i will draft nice excel file which will explain conditions.
    my email id is kodaksecurities @ gmail

    pls add me ..we will chat in details..

  8. #8
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Help popup window if condition is TRUE in change event if conditon is true

    as per instruction added file with criteria.

    Pls help
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    02-17-2011
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Help popup window if condition is TRUE in change event if conditon is true

    would be great help, If you address my query...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Change from checking if 2 conditions are true to if any of 4 conditions are true
    By tafoyavision in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-26-2014, 02:17 PM
  2. Replies: 1
    Last Post: 03-26-2014, 02:14 PM
  3. How to change the formula by its calculated value if condition is true ?
    By Jeferson11 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-14-2013, 07:30 PM
  4. [SOLVED] Change value in colum if condition is true in the other two columns
    By ajay1967 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-05-2012, 05:21 PM
  5. how to make checkbox true selecting then chaning 2nd box true when null
    By ferrum_equitis in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-30-2012, 01:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1