Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old Car
 
Posts: n/a
Default Hide "Excel" when running VB

Is there a way to hide "Excel" when its VB code is running? Thanks.


  #2   Report Post  
Jim Thomlinson
 
Posts: n/a
Default

application.visible = false

Careful with this though. Make sure you have proper error handling. If your
code crashes... Your excel will not come back...

HTH

"Old Car" wrote:

Is there a way to hide "Excel" when its VB code is running? Thanks.



  #3   Report Post  
Tom Ogilvy
 
Posts: n/a
Default

At the start of your code
Application.Visible = False

At the end of your code
Application.Visible = True

--
Regards,
Tom Ogilvy

"Old Car" wrote in message
news:rAuce.73$k01.46@trnddc03...
Is there a way to hide "Excel" when its VB code is running? Thanks.




  #4   Report Post  
Chip Pearson
 
Posts: n/a
Default

Do you mean to hide the entire application? If so, use

Application.Visible = False
' your code here
Application.Visible = True

If you mean to simply hide the interim results of a VBA procedure
while it is running, use

Application.ScreenUpdating = False
' your code here
Application.ScreenUpdating = True


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Old Car" wrote in message
news:rAuce.73$k01.46@trnddc03...
Is there a way to hide "Excel" when its VB code is running?
Thanks.




  #5   Report Post  
paul
 
Posts: n/a
Default

why dont you just minimize the excel window?
--
hope this helps
Paul


"Chip Pearson" wrote:

Do you mean to hide the entire application? If so, use

Application.Visible = False
' your code here
Application.Visible = True

If you mean to simply hide the interim results of a VBA procedure
while it is running, use

Application.ScreenUpdating = False
' your code here
Application.ScreenUpdating = True


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Old Car" wrote in message
news:rAuce.73$k01.46@trnddc03...
Is there a way to hide "Excel" when its VB code is running?
Thanks.







  #6   Report Post  
Robert Bruce
 
Posts: n/a
Default

Roedd <<paul wedi ysgrifennu:

why dont you just minimize the excel window?


There's a difference between <<hiding and <<crouching down really small
and hoping that no one spots you ;-)

--
Rob

http://www.asta51.dsl.pipex.com/webcam/

This message is copyright Robert Bruce and intended
for distribution only via NNTP.
Dissemination via third party Web forums with the
exception of Google Groups and Microsoft Communities
is strictly prohibited and may result in legal action.


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
Excel Files Acting Weird Anat Excel Discussion (Misc queries) 0 March 29th 05 03:07 AM
How do I hide formulas in Excel cells? Rita Excel Discussion (Misc queries) 2 February 15th 05 08:55 PM
In Excel VBA Editor, how do I hide my code from other users? Mayberrk Excel Discussion (Misc queries) 1 February 8th 05 06:11 AM
Excel files on local drives running from internet FillyFriend Excel Worksheet Functions 0 November 22nd 04 09:23 PM
Excel - if cells = 0, how to conditionally hide rows in chart fineimage Excel Worksheet Functions 1 November 11th 04 09:45 PM


All times are GMT +1. The time now is 09:54 PM.

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

About Us

"It's about Microsoft Excel"