B
Brian
I have an Access app that Shells to Excel Sheet#1 containing an Aut
pen
macro which, in turn, opens and reformats various parts of Sheet#2 in
preparation for import into Access. I would like to consolidate the
references to the location of Sheet#2 so that I can pass the name/location of
Sheet#2 to Sheet#1 rather than hard-coding the reference within both Access &
Sheet#1. If I update the path right now, I have to update both the Access DB
& Excel Sheet #1.
Does anyone have a clever way to do this? Perhaps store the path as a string
in a table and have both Excel & Access read from the table at runtime? I can
only guess how to do that.
macro which, in turn, opens and reformats various parts of Sheet#2 in
preparation for import into Access. I would like to consolidate the
references to the location of Sheet#2 so that I can pass the name/location of
Sheet#2 to Sheet#1 rather than hard-coding the reference within both Access &
Sheet#1. If I update the path right now, I have to update both the Access DB
& Excel Sheet #1.
Does anyone have a clever way to do this? Perhaps store the path as a string
in a table and have both Excel & Access read from the table at runtime? I can
only guess how to do that.