Windows Folder Parameters

B

BillCPA

Is there any way in VBA to control (set) parameters in Windows folders? If I
create a folder in a macro, can I set anything related to the way it is
viewed - Tiles or Icons, order by Name or Date, display full path in Address
Bar or Title Bar, position on the screen, etc. - in the macro?
 
D

Doug Robbins - Word MVP

If you are accessing the folder using

Dim fd As FileDialog
Set fd = Application.FileDialog(msoFileDialogOpen)

You can use

fd.InitialView

to set the way in which the files are displayed by setting it to the desired
member of the MsoFileDialogView members.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top