Macro to upload Excel workbook to OneDrive / SharePoint

sanket_sk

Board Regular
Joined
Dec 27, 2016
Messages
140
Office Version
  1. 365
Platform
  1. Windows
Hi All,

Hope all are doing well.

I have excel forms / Sheets with different users/colleagues, they fill in the details and upload the complete file in SharePoint / OneDrive.

I am looking for solution VBA / Macro or any other functionality, once person fill the details and click on upload, the macro should automatically upload the file in SharePoint and confirm back that “File uploaded successfully”

Sharing sample form and OneDrive link for ready reference ..


Note:- OneDrive colleagues will have access to OneDrive

Form Input.xlsm
ABCDEF
1
2
3Parts Orders Data Entry
4
5Item
6
7Location
8
9Qty
10
11Price 
12
13Total 
14
15
16
Input
Cell Formulas
RangeFormula
D11D11=IF(D5="","",VLOOKUP(D5,PartLU,2,0))
D13D13=IF(D5="","",D9*D11)
Cells with Data Validation
CellAllowCriteria
D7:D8List=LocationList
D9Whole numberbetween -50000 and 50000
D5List=PartList


Form Input.xlsm
ABCDEFG
1EnteredEntered ByPartLocationQtyPriceTotal
207-08-2021 11:50:40PhilipsMain Switch CoverRC21$155.00$155.00
PartsData


Kindly let me know if it is possible

Thanks,
Sanket
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,214,923
Messages
6,122,283
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top