Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Excel SaveAs() method

I'm having trouble saving a workbook. I show a SaveFileDialog, the user
specified where he wants to save the file, and where. When the user clicks on
Save button, I say SaveAs... and do something else with the file (after the
file is saved). Anyway, that's what it should do.

My code for saving is this:

this.SaveAs(fileName, Excel.XlFileFormat.xlXMLSpreadsheet, missing, missing,
false, false, Microsoft.Office.Interop.Excel.XlSaveAsAccessMode. xlNoChange,
missing, false, missing, missing, true);

It simply doesn't save the xls file. Does anybody have any idea why?
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SaveAs Method changes Worksheet Name nmagerl[_3_] Excel Programming 4 June 1st 05 03:44 PM
SaveAs Method changes Worksheet Name nmagerl[_2_] Excel Programming 0 May 25th 05 04:08 PM
A little help with SaveAs Method please Stitch45 Excel Programming 1 April 30th 05 01:41 AM
Error Excel: 1004 SaveAs method of Workbook class failed sebastien Excel Programming 0 August 13th 03 09:59 AM
SaveAs method L Buchy Excel Programming 1 July 11th 03 11:27 PM


All times are GMT +1. The time now is 06:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"