Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am having trouble using the SaveAs method of the workbook class. Can
someone please tell me how to use this method. Thanks, Sunil |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I forgot to mention this, I am using MFC.
wrote: I am having trouble using the SaveAs method of the workbook class. Can someone please tell me how to use this method. Thanks, Sunil |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Suram,
Try something like: '============= Public Sub Tester() Dim WB As Workbook Const myPath As String = "C:\Data\" Const sName As String = "ABC" Set WB = ThisWorkbook WB.SaveAs Filename:=myPath & sName & ".xls", _ FileFormat:=xlWorkbookNormal End Sub '<<============= --- Regards, Norman wrote in message ups.com... I forgot to mention this, I am using MFC. wrote: I am having trouble using the SaveAs method of the workbook class. Can someone please tell me how to use this method. Thanks, Sunil |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
No idea what your "trouble" is, but I have had difficulties using .SaveAs
with non-ANSI letters in the path/filename on English systems, whereas ..SaveCopyAs works always. NickHK wrote in message oups.com... I am having trouble using the SaveAs method of the workbook class. Can someone please tell me how to use this method. Thanks, Sunil |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Is there a method by which we can programatically save the workbook? | Excel Programming | |||
Workbook Property or Method | Excel Programming | |||
Cant use this protectio method in a shared workbook??? | Excel Programming | |||
Sheets select method fails when workbook is opened by another workbook | Excel Programming | |||
Workbook Open method | Excel Programming |