Solved

vba excel Modeless Balloon

Posted on 2007-04-03
6
860 Views
Last Modified: 2012-05-05
Hi guys,

I have a balloon that I am trying to make modeless so my users can interact with the spreadsheet without dismissing the balloon, but when I set the type to modeless, the balloon disappears as soon as I call the procedure.

TIA!

SCott
0
Comment
Question by:bfreescott
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 
LVL 26

Expert Comment

by:EDDYKT
ID: 18845121
You can set your form always on top

ie
Const SWP_NOACTIVATE = &H10
Const SWP_NOMOVE = &H2
Const SWP_NOSIZE = &H1
Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long

SetWindowPos Me.hwnd, -1, 0, 0, 0, 0, SWP_NOACTIVATE Or SWP_NOMOVE Or SWP_NOSIZE
0
 

Author Comment

by:bfreescott
ID: 18845276
is there no way to do this in vba without using the API??
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 18849559
Do you have a callback procedure set?
0
 

Author Comment

by:bfreescott
ID: 18853622
no, i was looking at that though.  do you think that's what i need here??
0
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 18853924
Yes - as far as I know you cannot have a modeless balloon without a callback procedure. Note also that the callback must take three arguments, a Balloon and two Longs.
Rory
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question