File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ Sub Push2SharePoint()
297
297
' define variables
298
298
Dim SharePointPath As Variant
299
299
Dim FileAsNamed As Variant
300
- ' retrieve SharePoint path indicated by the user inside Excel Sheet named "Select" on cell B33
300
+ ' retrieve SharePoint path indicated by the user inside Excel Sheet named "Select" on cell B9
301
301
SharePointPath = ThisWorkbook.Sheets("Summary" ).Range("B9" ).Text
302
302
' provide some error message if it's not populated
303
303
On Error GoTo NoStorageSelected
@@ -322,7 +322,7 @@ Exit Sub
322
322
' Error Management
323
323
NoStorageSelected:
324
324
MsgBox "Error: Excel can not reach SharePoint Folder Storage location" & vbCrLf & _
325
- "Possible reasons are: Storage location was not defined in the Worksheet 'Select' cell B33 or " & vbCrLf & _
325
+ "Possible reasons are: Storage location was not defined in the Worksheet 'Select' cell B9 or " & vbCrLf & _
326
326
"Not having sufficient previledges to access SharePoint location " & vbCrLf & _
327
327
"Make sure to add forward slash after SharePoint Document Library"
328
328
Exit Sub
You can’t perform that action at this time.
0 commit comments