Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default How to open an Excel window hidden

Hello,
I want to open an Excel file from another application, to read some data
from Excel. But i want to keep the Excel window hidden.
The following macro opens the workbook hidden, but the Excel frame still
displays on screen.
How to get rid of this XL window ?
Thanks ahead

Set XLApp = New Excel.Application
XLApp.WorkBooks.Open FileName:=NomClasseurXL
XLApp.Visible = False

Woody


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 133
Default How to open an Excel window hidden

I think you could minimize the Excel instance or set
Application.ScreenUpdating = False from the calling app, then open
Excel, get the data, close Excel and reset Updating = True.

SteveM

On Oct 21, 5:55 pm, "Woody" wrote:
Hello,
I want to open an Excel file from another application, to read some data
from Excel. But i want to keep the Excel window hidden.
The following macro opens the workbook hidden, but the Excel frame still
displays on screen.
How to get rid of this XL window ?
Thanks ahead

Set XLApp = New Excel.Application
XLApp.WorkBooks.Open FileName:=NomClasseurXL
XLApp.Visible = False

Woody



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
Can only open one window with excel William Excel Discussion (Misc queries) 4 January 14th 09 02:12 PM
Keep VBA window hidden JGeniti Excel Programming 1 January 17th 06 04:41 PM
excel open in new window Peter Excel Discussion (Misc queries) 4 November 10th 05 05:05 PM
Excel workbook does not open in open window on desktop DeanH Excel Discussion (Misc queries) 2 March 8th 05 09:51 AM
how to open a url in a new window from VBA on Excel SMV Excel Programming 1 November 18th 03 01:16 AM


All times are GMT +1. The time now is 07:56 AM.

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"