Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Hide (visible=false) all open applications?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Hide (visible=false) all open applications?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 576
Default Hide (visible=false) all open applications?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Hide (visible=false) all open applications?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 576
Default Hide (visible=false) all open applications?

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does Exel open much slower than other applications? Andre Excel Discussion (Misc queries) 0 March 24th 09 08:37 PM
Can't open Excel files from other applications Paul Excel Discussion (Misc queries) 1 February 10th 09 01:43 PM
Application.Visible = False SimonB Setting up and Configuration of Excel 1 October 16th 06 09:51 PM
Application.Visible = False SimonB Excel Discussion (Misc queries) 1 October 15th 06 01:10 PM
Open Microsoft Office Applications from another computer? mspm45 Excel Discussion (Misc queries) 3 July 30th 05 05:09 PM


All times are GMT +1. The time now is 10:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"