Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
What are ....
Hi,
What are the Visual Basic commands for: 1. Open Excel file called "abc" 2. Save the "abc" Excel file 3. Exit from the "abc" Excel file Thank you, Haim. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
What are ....
Hi
try: dim wbk as workbook set wbk = workbooks.open "C:\temp\abc.xls" 'do something with wbk wbk.save wbk.close -----Original Message----- Hi, What are the Visual Basic commands for: 1. Open Excel file called "abc" 2. Save the "abc" Excel file 3. Exit from the "abc" Excel file Thank you, Haim. . |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
What are ....
frank made a typo!.. line should read:
set wkb = workbooks.open("C:\temp\abc.xls") keepITcool "Frank Kabel" wrote: Hi try: dim wbk as workbook set wbk = workbooks.open "C:\temp\abc.xls" 'do something with wbk wbk.save wbk.close -----Original Message----- Hi, What are the Visual Basic commands for: 1. Open Excel file called "abc" 2. Save the "abc" Excel file 3. Exit from the "abc" Excel file Thank you, Haim. . |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
What are ....
A quicker way to find out is to turn on the macro recorder and do it manually,
then look at the code the recorder produced. On Wed, 22 Sep 2004 03:04:23 -0700, "Haim" wrote: Hi, What are the Visual Basic commands for: 1. Open Excel file called "abc" 2. Save the "abc" Excel file 3. Exit from the "abc" Excel file Thank you, Haim. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|