Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-20-2014, 03:40 AM
didjee didjee is offline Keep Userform on Top Windows 7 64bit Keep Userform on Top Office 2013
Novice
Keep Userform on Top
 
Join Date: Sep 2014
Posts: 4
didjee is on a distinguished road
Default Keep Userform on Top

Hi,


Did you get a solution for the user form to be always on top?
I have the same issue with PPT and I do not find how to fix that.
Thx
Didjee

Last edited by macropod; 10-20-2014 at 02:25 PM. Reason: Split from hijacked thread in Word forum.
Reply With Quote
  #2  
Old 10-20-2014, 08:05 AM
Cosmo Cosmo is offline Keep Userform on Top Windows Vista Keep Userform on Top Office 2007
Competent Performer
 
Join Date: Mar 2012
Posts: 231
Cosmo is on a distinguished road
Default

Set the form's 'ShowModal' property to 'True'. This will keep the form in front, and prevent switching to another document until the form has been closed (or hidden).
Reply With Quote
  #3  
Old 10-20-2014, 08:29 AM
didjee didjee is offline Keep Userform on Top Windows 7 64bit Keep Userform on Top Office 2013
Novice
Keep Userform on Top
 
Join Date: Sep 2014
Posts: 4
didjee is on a distinguished road
Default Very bad solution that you suggest...

Hi
Sorry but that solution is quite bad !
I need to get the form ALWAYS on top and to keep access to the PPT windows at the same time !
It works well with Office 2007 but not with Office 2013 besause of the SDI system.
Thanks anyway.
Didjee
Reply With Quote
  #4  
Old 10-20-2014, 12:36 PM
macropod's Avatar
macropod macropod is offline Keep Userform on Top Windows 7 64bit Keep Userform on Top Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,232
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

The solution you say is 'quite bad' is a solution. You cannot prevent a modeless userform from disappearing behind another object if you do something that causes the other object to come to the top. If you want to keep a modeless userform on top, it is up to you to take care to not hide it.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 10-20-2014, 02:14 PM
didjee didjee is offline Keep Userform on Top Windows 7 64bit Keep Userform on Top Office 2013
Novice
Keep Userform on Top
 
Join Date: Sep 2014
Posts: 4
didjee is on a distinguished road
Default Yes there is a way....

I created a solution that makes the userform in powerpoint always on top !
Yes and it works well even as a .ppam in office 2013 !

Thanks to Jan Karel and Dennis that put me on the way...

But it's true that I'm really proud of my improved code.

Regards

Signed : a newbie

Last edited by macropod; 10-20-2014 at 02:21 PM. Reason: Offensive remarks removed
Reply With Quote
  #6  
Old 10-20-2014, 02:22 PM
macropod's Avatar
macropod macropod is offline Keep Userform on Top Windows 7 64bit Keep Userform on Top Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,232
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

I'm glad you have a solution. Your pride will undoubtedly serve you well... Now all you need to do is to learn to not hijack threads in the Word forum for PowerPoint questions.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Code in a UserForm module to delete a Command Button which opens the userform Simoninparis Word VBA 2 09-21-2014 03:50 AM
Keep Userform on Top Is it possible to take an input from a UserForm in one document to a UserForm in a do BoringDavid Word VBA 5 05-09-2014 09:08 AM
Keep Userform on Top Checkbox in Userform lukael Excel Programming 5 02-18-2014 05:20 AM
Userform Code not quite right - help please vbanovice Word VBA 1 09-29-2013 09:20 PM
How to use the SaveAsDialog after UserForm is closed drod Word VBA 0 03-03-2013 08:06 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:54 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft