Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display variable value in OnScreenDisplay function?
#1
Hi All!
This line works perfectly for me:
 
Code:
Copy      Help
OnScreenDisplay "All inactive VBA Modules have been closed" 1 -50 -50 "Calibri" 0 0xff0000 2

Still, I'd like it to display how many modules have been closed, something like:
 
Code:
Copy      Help
_i = 3
OnScreenDisplay "_i inactive VBA Modules have been closed" 1 -50 -50 "Calibri" 0 0xff0000 2

Is it possible?
Seems like OnScreenDisplay only accepts fixed text string values for displayed notifications...
Hope, I'm wrong!

Thank you for your help!


Messages In This Thread
Display variable value in OnScreenDisplay function? - by linkiddx - 03-19-2025, 08:57 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)