Thread: What are ....
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
keepITcool keepITcool is offline
external usenet poster
 
Posts: 2,253
Default 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.

.