browsing
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Browsing

Browsing

resolvedResolved · Low Priority · Version 2003

replyReply Fri 13 Jun 2008, 15:07Delegate Oliver said...

Oliver has attended:
Excel VBA Intro Intermediate course

Browsing

Create vba code to browse your c:?

For upcoming training course dates see: Pricing & availability

replyReply Sun 15 Jun 2008, 19:16Trainer Katie said...

RE: Browsing

Hi Oliver,

Hope you found the training useful. Regarding to your question, you can add create a macro or draw a command button to attach the following code:

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Dim FileName As String

ChDir "C:\"
FileName = Application.GetOpenFilename

Exit Sub
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

The application method GetOpenFilename brings up the Open File window while ChDir changes to looks into a file path.

See if this helps.

Regards,

Katie
Microsoft Certified Trainer

 

Please browse our web site to find out more about
excel microsoft training and other Microsoft training courses.

Excel tip:

Bring up formatting dialog box

Ctrl+1

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard