ClarityNDT
New Member
- Joined
- Mar 25, 2020
- Messages
- 12
- Office Version
- 2013
- Platform
- Windows
Good morning everyone.
Firstly I hope everyone is staying safe and well in the current climate.
I have the following issue:
MS access exports some information to a .xlsx workbook stored on users root directory, workbook1.
A template workbook, workbook2 is then used to build documents where some information is taken from workbook1. The is achieved by a hidden sheet in workbook2 where a simple set of formulas pulls the information from workbook1
So my issue is that the cells in workbook2 do not update to the current values of workbook1 unless I do one of the following:
Open workbook1
enter the destination cells in workbook2 and exit the cell (essentially f2+enter)
I've tried having an onload vba action to send an f2 and enter command for the affected cells but the process is relatively long and we complete the process regularly throughout the day. I've also tried using a vba sub to find and replace all instances of "=" in workbook2 but again this process seems quite long.
I'm thinking the easiest way may be to have workbook2 load and then kill workbook1 when it opens? (I need to ensure workbook1 is kept closed to allow access to update it next time, this cannot be left to the user).
Does anyone have a more streamlined solution to this issue?
Appreciate any time and knowledge
Firstly I hope everyone is staying safe and well in the current climate.
I have the following issue:
MS access exports some information to a .xlsx workbook stored on users root directory, workbook1.
A template workbook, workbook2 is then used to build documents where some information is taken from workbook1. The is achieved by a hidden sheet in workbook2 where a simple set of formulas pulls the information from workbook1
Code:
='C:\RPTTMP\[workbook1.XLSx]worksheet1'!A2
So my issue is that the cells in workbook2 do not update to the current values of workbook1 unless I do one of the following:
Open workbook1
enter the destination cells in workbook2 and exit the cell (essentially f2+enter)
I've tried having an onload vba action to send an f2 and enter command for the affected cells but the process is relatively long and we complete the process regularly throughout the day. I've also tried using a vba sub to find and replace all instances of "=" in workbook2 but again this process seems quite long.
I'm thinking the easiest way may be to have workbook2 load and then kill workbook1 when it opens? (I need to ensure workbook1 is kept closed to allow access to update it next time, this cannot be left to the user).
Does anyone have a more streamlined solution to this issue?
Appreciate any time and knowledge