James-
The simplest way is to use the FollowHyperlink method in VBA:
Application.FollowHyperlink "C:\My Documents\MySpreadsheet.xlsx"
John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications
SQL Queries for Mere Mortals
(Paris, France)
On Dec 14, 2015, at 10:58 AM, James Asante asanteza@gmail.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
Hi,
I want to be able to click a button on a form to open an Excel workbook (export.xlsx) sitting in the Documents folder of my pc.
Please help with a macro or vb.
Regards,
James Asante
__._,_.___
Posted by: John Viescas <johnv@msn.com>
| Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (2) |
.
__,_._,___
Tidak ada komentar:
Posting Komentar