I've got an Access runtime on a machine without Office installed.
I want to export data to an xlsx file, but all the builtin methods - TransferSpreadsheet, OutputTo, SQL directed to Excel file, ADODB connection to Excel, table built in Excel - are either dependent on an Excel object, or use a driver that is disabled by Microsoft in the current version.
It seems the only 2 options I have are:
Install Excel, or
Find a DLL that will do the job for me, or
Find some very fancy VBA code.
Well, there are tonnes and tonnes of solutions in C# and .NET out there, but none of them are available to VBA. IronXL, NPIO, SpreadsheetLight, ClosedXML: they all have DLLs but are not COM enabled as far as I can tell.
Does anybody know of an out-of-the-box solution that I can use in VBA?
(BTW sorry I haven't posted here since 2009 - been busy).
Thanks,
Jack
Thanks for the suggestion Ron! Can't go with CSV unfortunately, as we will be given some Excel templates by clients which we'll be dumping data into.
Also, I like your 'teeny, tiny bit of user training'! We won't know most of our users, so even a teeny tiny bit of training is too much!
I've got an Access runtime on a machine without Office installed.by Microsoft in the current version.
I want to export data to an xlsx file, but all the builtin methods - TransferSpreadsheet, OutputTo, SQL directed to Excel file, ADODB connection to Excel, table built in Excel - are either dependent on an Excel object, or use a driver that is disabled
It seems the only 2 options I have are:
Install Excel, or
Find a DLL that will do the job for me, or
Find some very fancy VBA code.
Well, there are tonnes and tonnes of solutions in C# and .NET out there, but none of them are available to VBA. IronXL, NPIO, SpreadsheetLight, ClosedXML: they all have DLLs but are not COM enabled as far as I can tell.
Does anybody know of an out-of-the-box solution that I can use in VBA?
Hi Ron,
would you please turn off the advertising for AVG in your replies?
Thanks
Ulrich
Ulrich Möller formulated on Friday :
Hi Ron,
would you please turn off the advertising for AVG in your replies?
Thanks
Ulrich
Hmmmm... I didn't even notice that AVG was attaching their blurb to
out going posts. I rummaged around in the AVG and think I found and
turned off the setting that seems to be annoying you. I guess after I
hit send we'll find out for sure.
Auntie Jack wrote :
Thanks for the suggestion Ron! Can't go with CSV unfortunately, as we will be
given some Excel templates by clients which we'll be dumping data into.
Also, I like your 'teeny, tiny bit of user training'! We won't know most ofIn this case you might want to attack the problem from the Excel side,
our users, so even a teeny tiny bit of training is too much!
and allow the users with Excel to suck data out of the Access database.
It's obvious that the user(s) on the computer(s) without Excel will
not be able to view or manipulate the data.
Rdub
--
This email has been checked for viruses by AVG.
https://www.avg.com
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 85:09:45 |
Calls: | 6,658 |
Calls today: | 4 |
Files: | 12,203 |
Messages: | 5,333,703 |
Posted today: | 1 |