Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
open other excel application by vba
Hi, any one knows how to use vba from this excel application to create new excel appication? Thank -- ppyx ----------------------------------------------------------------------- ppyxl's Profile: http://www.excelforum.com/member.php...fo&userid=3611 View this thread: http://www.excelforum.com/showthread.php?threadid=55930 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
open other excel application by vba
Dim xlApp As Object
Dim xlWB As Object Set xlApp = CreateObject("Excel.Application") ' if you want to make it visible xlApp.Visible = True 'and to do stuff with it Set xlWB = xlApp.Workbooks.Open("C:\MyFiles\myFile.xls") 'and at the end xlWB.Save xlWB.Close xlApp.Quit Set xlWB = Nothing Set xlApp = Nothing -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "ppyxl" wrote in message ... Hi, any one knows how to use vba from this excel application to create a new excel appication? Thanks -- ppyxl ------------------------------------------------------------------------ ppyxl's Profile: http://www.excelforum.com/member.php...o&userid=36116 View this thread: http://www.excelforum.com/showthread...hreadid=559307 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Spreadsheet will not open without Excel Application being open fir | Excel Discussion (Misc queries) | |||
CommandButton in Excel to open another Application | Excel Worksheet Functions | |||
open Tiff application from excel vba | Excel Programming | |||
Can Excel open a new application every time you open a file? | Setting up and Configuration of Excel | |||
Can not open excel files without open application | Excel Discussion (Misc queries) |