Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I’m following the example he
http://msdn.microsoft.com/en-us/libr...ffice.11).aspx Here’s my code: ' Determine if workbook can be checked in. If Workbooks(SaveFile).CanCheckIn = True Then Workbooks(SaveFile).CheckIn MsgBox SaveFile & " has been checked in." Else MsgBox "This file cannot be checked in " & _ "at this time. Please try again later." End If ‘SaveFile’ is dimmed as a string; it is the name of my Excel file, which comes from he SaveFile = Left(imgElement.Title, 27) I mouse-over the variable and see that the value is correct, but the code fails on this line: If Workbooks(SaveFile).CanCheckIn = True Then SaveFile is checked out from SharePoint. How come I can’t check it in? Do I need to fully qualify SaveFile with the path to SharePoint so Excel knows WHERE to check the file in? I’d appreciate any ideas with this. Thanks!! Ryan--- |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Check a file into SharePoint | Excel Programming | |||
Check out Excel file from SharePoint; if no other Excel file is op | Excel Programming | |||
Sharepoint: How do I upload Excel (2003) Reports to Sharepoint? | Excel Programming | |||
Excel links & SharePoint 3.0 (worked fine with SharePoint 2.0) | Excel Discussion (Misc queries) | |||
Sharepoint File Dialog | Excel Programming |