Learning SharePoint   Enhance Your SharePoint Knowledge


 
Current User: Guest
Please consider registering
Plase note that the Forum works well in IE8, Firefox, Chrome and Safari


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

I need powershell code for Programatically OpenEditSave excel workbook in Sharepoint 2010

UserPost

8:24 am
February 22, 2012


mdgryn

Guest

 
1

http://www.learningsharepoint……oint-2010/
Programatically Open\Edit\Save excel workbook in Sharepoint 2010
private void OpenandWrite_Click(object sender, EventArgs e)
{
myService = new ES.ExcelService();
myService.Credentials = System.Net.CredentialCache.DefaultCredentials;

ExService.Status[] status;

// Close the open workbook.
if (sessionId != string.Empty)
cli.CloseWorkbook(sessionId);

// Clear out the session ID.
sessionId = string.Empty;

// Finally Open the workbook for editing.
sessionId = cli.OpenWorkbookForEditing(“http://SPSite/Shared docs/mysheet.xlsx”, “”, “”, out status);

}


Ads by Google

Reply to Topic:
I need powershell code for Programatically Open\Edit\Save excel workbook in Sharepoint 2010

Guest Name (Required):

Guest Email (Required):

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
2 + 7
   



 
Subscribe to Learning SharePoint Subscribe
Twitter Learning SharePointFollow Us
in Learning SharePoint

Random Posts

SharePoint 2010 ECMAscript – Copy\Move files to another document library
SharePoint 2010 ECMAscript –»

In this post we see a detail example of creating a Ribbon button which when clicked will copy the selected»

Understanding Resource files in SharePoint 2010 – Tutorial
Understanding Resource files in»

SharePoint defines two kinds of resource files: runtime resources (also called application resources) and provisioning resources. Application resources are used»

Programming with dialog in Sharepoint 2010
Programming with dialog in»

Related Post : Passing parameters to the dialog sharepoint 2010 Client Object model Beyond working with notifications and status bars,»