Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Word VBA
Word VBA Discuss using VBA to program Word.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Word VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 5th, 2011, 02:45 AM
Authorized User
Join Date: Oct 2011
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Post open a file dialog in word


I want to open a file dialog from word with files filtered for *.doc files. Is there a vb code that will work on word 2000 as well as in the latest version?

Old December 6th, 2011, 10:02 PM
Friend of Wrox
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts

You can use


from Word VBA

If you want a comprehensive one you have to go for CommonDialog control on a user form where you can have more control (http://vbadud.blogspot.com/2007/06/v...on-dialog.html)

C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
Old December 7th, 2011, 02:58 AM
Authorized User
Join Date: Oct 2011
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts

Thanks for your reply Shasur.

I will check the link.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open File Dialog Issue rodmcleay VS.NET 2002/2003 0 March 7th, 2007 12:10 PM
open file dialog box mh VB.NET 7 April 11th, 2005 10:15 AM
Preview a picture in the open file dialog? Dinesh22 VB.NET 2002/2003 Basics 1 January 19th, 2004 11:21 AM
Open File Dialog Box KennethMungwira VB.NET 3 August 3rd, 2003 09:44 PM
Open File Dialog Box KennethMungwira VB.NET 2 June 27th, 2003 04:36 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.