I have a workbook that downloads data from SAP. This workbook is developed to be a tool for different users across different sites. What i am trying to achieve is to develop VBA code that refence a spesific cell on a sheet where the different users can copy in the file path of where they store the data.
The current working code has this:-
' Open the IW39 Dwnld workbook
Workbooks.Open ("C:\Users\10005500\OneDrive\Desktop\SAP Automated data extract\Material Report\SAP Downloads\IW39 Dwnld.xlsx")
Sheets("Sheet1").Select
Range("A1").Select
I need the VBA to reference the cell in the sheet below (A2) where this path is stored. Below is a snippet of the sheet where users input their criteria. Each site would hence have different criteria and it would be better managed to input on the sheet instead of manipulating the VBA code for each.
I am a beginner in VBA and any assistance and detailed explanation how this can be achieved would be appreciated.
FWK
The current working code has this:-
' Open the IW39 Dwnld workbook
Workbooks.Open ("C:\Users\10005500\OneDrive\Desktop\SAP Automated data extract\Material Report\SAP Downloads\IW39 Dwnld.xlsx")
Sheets("Sheet1").Select
Range("A1").Select
I need the VBA to reference the cell in the sheet below (A2) where this path is stored. Below is a snippet of the sheet where users input their criteria. Each site would hence have different criteria and it would be better managed to input on the sheet instead of manipulating the VBA code for each.
I am a beginner in VBA and any assistance and detailed explanation how this can be achieved would be appreciated.
FWK