Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Reading current opened Excel book(file) into streams
Hi,
I want to read the currently opened file into streams. If user is open Excel and creates a new file, and then clicks on a button (which is provided by me) then I want to send that file to my server. How to retrieve the that file into streams. some times he might not have saved the currently opened file. I am using VSTO wit h visual studio with C# and I am mainly targeting Word/Excel/Powerpoint-2003. Thanks in Advance |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Reading current opened Excel book(file) into streams
I don't know what the Excel interface exposes in your environment, but
attempting to read such a "stream" would be highly dangerous (if at all possible) I would imagine, as you have no idea what state the WB is in. Quite why you want to save WBs that the user does not want to save is curious/dubious, but... You could do a .SaveCopyAs, then sent that copy to your server I suppose. NickHK "Malleswar" wrote in message ... Hi, I want to read the currently opened file into streams. If user is open Excel and creates a new file, and then clicks on a button (which is provided by me) then I want to send that file to my server. How to retrieve the that file into streams. some times he might not have saved the currently opened file. I am using VSTO wit h visual studio with C# and I am mainly targeting Word/Excel/Powerpoint-2003. Thanks in Advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
EXCEL WORK BOOK DUPLICATES WHEN OPENED | Excel Discussion (Misc queries) | |||
reading from another file and pasting to current file, "combobox" | New Users to Excel | |||
Strange error if another Excel book is opened | Excel Programming | |||
2003 Excel isn't reading the book.xlt file on startup. | Excel Discussion (Misc queries) | |||
how to make a macro and run in every excel book that opened? | Excel Programming |