Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a blank,
What is the code to start a new EXCEL application. Independant from the first one that is opned ? thx Michel |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Look at the createobject method.
-- Regards, Tom Ogilvy "MD" wrote in message .. . I have a blank, What is the code to start a new EXCEL application. Independant from the first one that is opned ? thx Michel |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Try this Public Sub NewExcelWindow() Set objexcel = New Excel.Application objexcel.Visible = True End Sub Good Luck ross "MD" wrote in message ... I have a blank, What is the code to start a new EXCEL application. Independant from the first one that is opned ? thx Michel |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thx Ross but I guess I wasn't clear in my request.
I want to open the EXCEL application BUT with a new workbook in it. If I use your code, as soon as the sub ends, the application closes also. I wish for the worbook to remain open. In other words, have 2 independant sessons of EXCEL running. Michel "ross" wrote in message om... Hi, Try this Public Sub NewExcelWindow() Set objexcel = New Excel.Application objexcel.Visible = True End Sub Good Luck ross "MD" wrote in message ... I have a blank, What is the code to start a new EXCEL application. Independant from the first one that is opned ? thx Michel |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Michel,
sorry. add this in the declarations section of the module Global objexcel as Excel.Application also update other code to Public Sub NewExcelWindow() Set objexcel = New Excel.Application objexcel.Visible = True objexcel.Workbooks.Add End Sub which will open a new book aswell good Luck ross |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Easy one for you all... | Excel Worksheet Functions | |||
easy one! | Charts and Charting in Excel | |||
I'm sure it must be easy | Excel Discussion (Misc queries) | |||
How to sum in an easy way? | Excel Discussion (Misc queries) | |||
new user with easy question? not easy for me | New Users to Excel |