Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I don't think I've explained the problem well enough. I am doing all of this
in a C# web forms program by automating Excel using the Interop libraries. The spreadsheet to be saved is being created and saved by that program without user intervention. Here is the call that works in XP but not in Vista: theName = "FinalReport" + String.Format("{0:yyyyMMddhhmmssttt}", DateTime.Now) + ".xls"; oSheet.SaveAs(Environment.GetFolderPath(Environmen t.SpecialFolder.InternetCache) + @"\" + theName, Excel.XlFileFormat.xlExcel7, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing); |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can't open an excel file (have 2007, Vista) without saving first | Excel Discussion (Misc queries) | |||
Forms--Vista--2007 Excel | Excel Worksheet Functions | |||
Invisible Application/Visible Forms? | Excel Programming | |||
XP versus Vista spreadsheet | Excel Worksheet Functions | |||
Saving Forms | Excel Programming |