PC Review


Reply
Thread Tools Rate Thread

"Browse" function available?

 
 
John Hipskind
Guest
Posts: n/a
 
      12th Sep 2003
Is there anything like a Browse function available, where
a file can be selected from a Windows Open dialog? I
would like to create a macro that selects an Excel file
to import from such a dialog.

Using a macro based on the TransferSpreadsheet action
with the following FileName argument:
= InputBox("Enter the filename:")
works great (suggested by Ken Snell), but requires typing
the path and filename.

Thanks.

John




 
Reply With Quote
 
 
 
 
Dan Artuso
Guest
Posts: n/a
 
      12th Sep 2003
Hi,
Here's the standard solution:
http://www.mvps.org/access/api/api0001.htm

--
HTH
Dan Artuso, Access MVP


"John Hipskind" <(E-Mail Removed)> wrote in message news:07f101c378c7$62c55370$(E-Mail Removed)...
> Is there anything like a Browse function available, where
> a file can be selected from a Windows Open dialog? I
> would like to create a macro that selects an Excel file
> to import from such a dialog.
>
> Using a macro based on the TransferSpreadsheet action
> with the following FileName argument:
> = InputBox("Enter the filename:")
> works great (suggested by Ken Snell), but requires typing
> the path and filename.
>
> Thanks.
>
> John
>
>
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MACRO QUERY - how to enable user to "browse" for the "file name" =?Utf-8?B?RGF2aWRIYXdlcw==?= Microsoft Access Macros 1 22nd Feb 2007 03:24 PM
crash when using the "browse" or "save as" window, help! =?Utf-8?B?Q29keVo=?= Windows XP Help 0 3rd Nov 2006 12:17 PM
Clicking the "Browse" function on websites =?Utf-8?B?RXg=?= Windows XP General 0 2nd Oct 2005 03:21 PM
Every Browse attempt succeeds and then Redirects to "HTTP:///" and shows "The page cannot be displayed" Elizabeth Windows XP Internet Explorer 3 15th Dec 2004 11:27 AM
Howcome the "blendTrans" not work after use "browse in new window " ? Andrew Hoi Microsoft ASP .NET 0 29th Feb 2004 10:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:09 PM.