Skip to content

Commit b83d9f4

Browse files
corrected comment
1 parent 507a7fd commit b83d9f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Bonus_SaveInSharePoint.xlsm

46 Bytes
Binary file not shown.

Programs.bas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ Sub Push2SharePoint()
297297
' define variables
298298
Dim SharePointPath As Variant
299299
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
301301
SharePointPath = ThisWorkbook.Sheets("Summary").Range("B9").Text
302302
' provide some error message if it's not populated
303303
On Error GoTo NoStorageSelected
@@ -322,7 +322,7 @@ Exit Sub
322322
' Error Management
323323
NoStorageSelected:
324324
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 & _
326326
"Not having sufficient previledges to access SharePoint location " & vbCrLf & _
327327
"Make sure to add forward slash after SharePoint Document Library"
328328
Exit Sub

0 commit comments

Comments
 (0)