Consulting

Results 1 to 6 of 6

Thread: How To Show A System Tray Notification Balloon

  1. #1
    VBAX Contributor
    Joined
    Jul 2018
    Posts
    174
    Location

    How To Show A System Tray Notification Balloon

    I read this https://wellsr.com/vba/2017/excel/sh...macro-is-done/ post where a system tray notification is showed upon macro completion.

    However, I can't get it to work.

    Does anyone have any experience with system tray notifications? (I am using Office Pro Plus on Windows 10).

  2. #2
    VBAX Expert Leith Ross's Avatar
    Joined
    Oct 2012
    Location
    San Francisco, California
    Posts
    552
    Location
    Hello walmea,

    At what line in the code do you receive an error?

    What is the error?

    What version of Windows are you running?
    Sincerely,
    Leith Ross

    "1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG"

  3. #3
    VBAX Contributor
    Joined
    Jul 2018
    Posts
    174
    Location
    Hi Leith Ross,

    thank you for your reply! I tried it on a new install of Office 365 Pro Plus 32-bit and now it doesn´t give me an error but there is no notification icon.

    I am using Windows 10 Home 64-bit.

  4. #4
    VBAX Contributor
    Joined
    Jul 2018
    Posts
    174
    Location
    I have a user form with the user form code in it and the rest of the code in a module.

    It works when I run the user form code but not the call to MacroFinished??

  5. #5
    VBAX Contributor
    Joined
    Jul 2018
    Posts
    174
    Location
    It works when I comment out
    'AppActivate (ThisWorkbook.Name) 'flash your existing workbook
    in the MacroFinished sub. I am not sure why it works but it does.

    Are there any more windows user interface things that can be done with VBA?

  6. #6
    VBAX Contributor
    Joined
    Jul 2018
    Posts
    174
    Location
    Would it be possible to replicate this code and create a "system tray" notification in excel using shapes and perhaps visibility from 0 to 100%?

Posting Permissions

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