Storing an Excel template in Access

Montez659

Well-known Member
Joined
May 4, 2005
Messages
918
Is there any way to store an excel template inside of Access?

I am planning on creating in code a function that will create a new excel file and populate that file based on an Access query for future data collection, but the spreadsheet has a fe images attached to it, and I thought it better to be able to copy a template and create a new file and populate it instead of having to recreate it programatically each time.

If I can't store it, then I was thinking that I would split the db and maintain the file I need in the same folder as the back end, but I am really not wanting to split the file and I am afraid that it would get moved/deleted/changed.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
It is much easier to use it if you store it in a file folder than trying to store it in Access. It is next to impossible to use it when stored in Access and you'll find it takes a lot more work even than just recreating it via code. So I would say store the template and maybe include _DoNotMoveThisFile_ as part of the file name.
 
Upvote 0

Forum statistics

Threads
1,224,506
Messages
6,179,159
Members
452,892
Latest member
yadavagiri

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