Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a way with code to make all open applications on the desktop either
hide or minimise? (From within Excel/VBA) I can do it with the VB Editor, and using an If routine with GetObject can do it with Word, but the same code won't work with Powerpoint. I just want a clear desktop so that the user can see and work on the form. Any help much appreciated Joe |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Why don't you maximize Excel and the Workbook
Application.WindowState = xlMaximized ActiveWindow.WindowState = xlMaximized -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "Joe 90" (remove silly spam) wrote in message ... Is there a way with code to make all open applications on the desktop either hide or minimise? (From within Excel/VBA) I can do it with the VB Editor, and using an If routine with GetObject can do it with Word, but the same code won't work with Powerpoint. I just want a clear desktop so that the user can see and work on the form. Any help much appreciated Joe |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Joe,
Put this in the form initialize event and the form will fill the screen With Application Me.Top = .Top Me.Left = .Left Me.Height = .Height Me.Width = .Width End With Wrap all of your code with Sub MySub() Application.ScreenUpDating = False * your code * Application.ScreenUpDating = True End Sub to speed up your code and prevent any screen flicker. -- sb "Joe 90" (remove silly spam) wrote in message ... Ron There is that way, but I want users to concentrate on data entry on a form, and not be too distracted by other activity on screen. The aim is to create what "looks like" a standalone app, even though it is really Excel? Joe "Ron de Bruin" wrote in message ... Why don't you maximize Excel and the Workbook Application.WindowState = xlMaximized ActiveWindow.WindowState = xlMaximized -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "Joe 90" (remove silly spam) wrote in message ... Is there a way with code to make all open applications on the desktop either hide or minimise? (From within Excel/VBA) I can do it with the VB Editor, and using an If routine with GetObject can do it with Word, but the same code won't work with Powerpoint. I just want a clear desktop so that the user can see and work on the form. Any help much appreciated Joe |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ahh you mean a Userform
-- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "Joe 90" (remove silly spam) wrote in message ... Ron There is that way, but I want users to concentrate on data entry on a form, and not be too distracted by other activity on screen. The aim is to create what "looks like" a standalone app, even though it is really Excel? Joe "Ron de Bruin" wrote in message ... Why don't you maximize Excel and the Workbook Application.WindowState = xlMaximized ActiveWindow.WindowState = xlMaximized -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "Joe 90" (remove silly spam) wrote in message ... Is there a way with code to make all open applications on the desktop either hide or minimise? (From within Excel/VBA) I can do it with the VB Editor, and using an If routine with GetObject can do it with Word, but the same code won't work with Powerpoint. I just want a clear desktop so that the user can see and work on the form. Any help much appreciated Joe |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Joe,
Yep! Just another tid-bit 'stolen' from this forum. It works great in one of my projects... -- sb "Joe 90" (remove silly spam) wrote in message ... Very nice :) "steve" wrote in message ... Joe, Put this in the form initialize event and the form will fill the screen With Application Me.Top = .Top Me.Left = .Left Me.Height = .Height Me.Width = .Width End With Wrap all of your code with Sub MySub() Application.ScreenUpDating = False * your code * Application.ScreenUpDating = True End Sub to speed up your code and prevent any screen flicker. -- sb "Joe 90" (remove silly spam) wrote in message ... Ron There is that way, but I want users to concentrate on data entry on a form, and not be too distracted by other activity on screen. The aim is to create what "looks like" a standalone app, even though it is really Excel? Joe "Ron de Bruin" wrote in message ... Why don't you maximize Excel and the Workbook Application.WindowState = xlMaximized ActiveWindow.WindowState = xlMaximized -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "Joe 90" (remove silly spam) wrote in message ... Is there a way with code to make all open applications on the desktop either hide or minimise? (From within Excel/VBA) I can do it with the VB Editor, and using an If routine with GetObject can do it with Word, but the same code won't work with Powerpoint. I just want a clear desktop so that the user can see and work on the form. Any help much appreciated Joe |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why does Exel open much slower than other applications? | Excel Discussion (Misc queries) | |||
Can't open Excel files from other applications | Excel Discussion (Misc queries) | |||
Application.Visible = False | Setting up and Configuration of Excel | |||
Application.Visible = False | Excel Discussion (Misc queries) | |||
Open Microsoft Office Applications from another computer? | Excel Discussion (Misc queries) |