I am having to amend an Access 97 database to locate and extract cell data from multiple cells in an XL97 workbook kept in known location using a command button.
The code I have searched for on this forum does not seem to fit/work so I guess its code for more up to date versions of Access.
I need to start from scratch so please could someone help me to get through the next 6 steps for a Sub fired from a command button module:-
1) reference and open an existing XL workbook (either hard coded path or "open file dialogue" method)
2) go to Sheet1
3) pickup the value of cell A1
4) apply the value of cell A1 to a variable within the Access module
5) repeat step 4 for the other required cell values
6) close the XL workbook
Thanks in advance (and my apoligies for working with software that is now obsolete!)
The code I have searched for on this forum does not seem to fit/work so I guess its code for more up to date versions of Access.
I need to start from scratch so please could someone help me to get through the next 6 steps for a Sub fired from a command button module:-
1) reference and open an existing XL workbook (either hard coded path or "open file dialogue" method)
2) go to Sheet1
3) pickup the value of cell A1
4) apply the value of cell A1 to a variable within the Access module
5) repeat step 4 for the other required cell values
6) close the XL workbook
Thanks in advance (and my apoligies for working with software that is now obsolete!)