Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rfl808/Notify
A simple module that uses windows notify api to send messages to the user.
https://github.com/rfl808/Notify
vba vba-excel winapi
Last synced: 8 days ago
JSON representation
A simple module that uses windows notify api to send messages to the user.
- Host: GitHub
- URL: https://github.com/rfl808/Notify
- Owner: rfl808
- Created: 2020-12-31T15:50:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-03T20:42:15.000Z (over 3 years ago)
- Last Synced: 2024-08-13T07:18:20.466Z (4 months ago)
- Topics: vba, vba-excel, winapi
- Language: VBA
- Homepage:
- Size: 26.4 KB
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - rfl808/Notify - A simple module that uses windows notify api to send messages to the user. (VBA)
README
# How to Install
Open your workbook in Excel.
Press Alt + F11 to open Visual Basic Editor (VBE).
Right-click on your workbook name in the "Project-VBAProject" pane (at the top left corner of the editor window) and select Insert -> Module from the context menu.
Copy the VBA notify code and paste it to the right pane of the VBA editor ("Module1" window).
Or just download and add the notify.bas file to your workbook.# Syntax
toast (titleMessage, [infoMessage], [flagOfMessage])
# Flags for the balloon message..
None = 0Information = 1
Exclamation = 2
Critical = 3
# Example
toast "Hello World", "from Excel",1
It is possible to use emojis such as 😍
![image](https://user-images.githubusercontent.com/73585766/113490931-a1cbcc00-94a3-11eb-9a13-18b8fe8b335f.png)Just convert it to chrW code
toast ChrW(-10179) & Chrw(-8691), "from Excel"
![](https://github.com/rfl808/Notify/blob/main/mytoast.JPG)