PC Review


Reply
Thread Tools Rate Thread

How can I bring up the brose pop-up screen with VBA?

 
 
=?Utf-8?B?UmljaGFyZA==?=
Guest
Posts: n/a
 
      26th Jan 2007
Hello,

I want to use the BVA code to bring up the brose pop-up screen (this the
same screen that when we click on "Open" file to brose the file to open).

After user brose and select the file, I want to capture that file name.

Can anyone help me with this?

Thanks
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmltIFRob21saW5zb24=?=
Guest
Posts: n/a
 
      26th Jan 2007
Ty this

Dim str As String

str = Application.GetOpenFilename

This does not open the file but rather just retuns the name and path of the
selected file...
--
HTH...

Jim Thomlinson


"Richard" wrote:

> Hello,
>
> I want to use the BVA code to bring up the brose pop-up screen (this the
> same screen that when we click on "Open" file to brose the file to open).
>
> After user brose and select the file, I want to capture that file name.
>
> Can anyone help me with this?
>
> Thanks

 
Reply With Quote
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      26th Jan 2007


fname = Application.GetOpenFileName()
if fName <> False tthen
msgbox "You chose " & fname
End if

See Excel VBA help of GetOpenFilename for additional arguments.

Regards,
Tom Ogilvy



"Richard" wrote:

> Hello,
>
> I want to use the BVA code to bring up the brose pop-up screen (this the
> same screen that when we click on "Open" file to brose the file to open).
>
> After user brose and select the file, I want to capture that file name.
>
> Can anyone help me with this?
>
> Thanks

 
Reply With Quote
 
=?Utf-8?B?UmljaGFyZA==?=
Guest
Posts: n/a
 
      26th Jan 2007
Thank you.

"Tom Ogilvy" wrote:

>
>
> fname = Application.GetOpenFileName()
> if fName <> False tthen
> msgbox "You chose " & fname
> End if
>
> See Excel VBA help of GetOpenFilename for additional arguments.
>
> Regards,
> Tom Ogilvy
>
>
>
> "Richard" wrote:
>
> > Hello,
> >
> > I want to use the BVA code to bring up the brose pop-up screen (this the
> > same screen that when we click on "Open" file to brose the file to open).
> >
> > After user brose and select the file, I want to capture that file name.
> >
> > Can anyone help me with this?
> >
> > Thanks

 
Reply With Quote
 
=?Utf-8?B?UmljaGFyZA==?=
Guest
Posts: n/a
 
      26th Jan 2007
Thank you Jim

"Jim Thomlinson" wrote:

> Ty this
>
> Dim str As String
>
> str = Application.GetOpenFilename
>
> This does not open the file but rather just retuns the name and path of the
> selected file...
> --
> HTH...
>
> Jim Thomlinson
>
>
> "Richard" wrote:
>
> > Hello,
> >
> > I want to use the BVA code to bring up the brose pop-up screen (this the
> > same screen that when we click on "Open" file to brose the file to open).
> >
> > After user brose and select the file, I want to capture that file name.
> >
> > Can anyone help me with this?
> >
> > Thanks

 
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
screen goes blank after screen saver and cant bring it back =?Utf-8?B?QVJn?= Windows Vista Performance 1 24th Sep 2007 08:02 PM
bring screen to foreground =?Utf-8?B?amVmZg==?= Microsoft Dot NET Compact Framework 4 22nd Feb 2007 06:16 PM
cant bring up the screen to log in. =?Utf-8?B?c2t1bG1hdA==?= Windows XP General 2 21st Apr 2005 05:45 PM
Help me Bring back Welcome screen after screen saver =?Utf-8?B?Ui4gSmFtZXM=?= Windows XP Help 6 8th Apr 2005 04:35 AM
bring certain form to the top of screen wd1153 Microsoft Access Form Coding 1 20th Dec 2003 02:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:04 PM.