Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Have you tried:
Application.Visible = False .... shape.OLEFormat.Verb(Excel.XlOLEVerb.xlVerbOpen) .... Application.Visible = True -- Bob Kilmer "Yi" wrote in message ... I have a VB application that processes an Excel file. The Excel file has a Chart (actually a Workbook) Shape object embedded in it. The application needs to activate the Shape object in order to update the data in the worksheet. When the following code is called, the Excel window will always popup. shape.OLEFormat.Verb(Excel.XlOLEVerb.xlVerbOpen) Can anybody tell me how to hide the Excel window when this code is called? I can only find two types of verbs - Open and Primary, and they both display the window. Or, is there any other way to activate the OLE object without displaying the Excel window? Thanks in advance. Yi |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Activating object from Excel cell | Excel Worksheet Functions | |||
Close Excel server after activating OLE object | Excel Discussion (Misc queries) | |||
How to understand the Window Object? | Excel Discussion (Misc queries) | |||
Activating a Chart object | Charts and Charting in Excel | |||
Hide/Show modeless userform when activating/deactivating workbooks | Excel Programming |