J John Aug 18, 2007 #1 Hi How can I open a excel from disk from within access and fill a few cells in it? Thanks Regards
G Guest Aug 18, 2007 #2 Click on menu FILE - Get External Data - Link Tables. At the bottom of the window that opens select Excel as type of file. Select your file and worksheet.
Click on menu FILE - Get External Data - Link Tables. At the bottom of the window that opens select Excel as type of file. Select your file and worksheet.
J John Aug 18, 2007 #3 Hi Thanks for that. I need to open a separate copy every time. Actually it is an invoice template that I need to fill in for different jobs. Thanks Regards
Hi Thanks for that. I need to open a separate copy every time. Actually it is an invoice template that I need to fill in for different jobs. Thanks Regards
A Arvin Meyer [MVP] Aug 18, 2007 #4 Use ShellExecute from the Access Web: http://www.mvps.org/access/api/api0018.htm Once you've compile the code a simple line like this will open your template to a new spreadsheet: fHandleFile("C:\FolderName\TemplateName.xlt",WIN_NORMAL)
Use ShellExecute from the Access Web: http://www.mvps.org/access/api/api0018.htm Once you've compile the code a simple line like this will open your template to a new spreadsheet: fHandleFile("C:\FolderName\TemplateName.xlt",WIN_NORMAL)
J John Aug 18, 2007 #5 Would I be able to transfer data from access into excel cells this way? Thanks Regards
A Arvin Meyer [MVP] Aug 20, 2007 #6 You may want to look at this: http://www.mvps.org/access/modules/mdl0006.htm -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.mvps.org/access http://www.accessmvp.com
You may want to look at this: http://www.mvps.org/access/modules/mdl0006.htm -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.mvps.org/access http://www.accessmvp.com