Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 94
Default Stop showing the Folder explorer bar?

I have added a custom menu as part of an add-in which contains a button that
brings up a folder. This works, but the Folder explorer bar is shown and I
would prefer that it didn't. Any thoughts on how to eliminate the Folder
view? The code I have attached to the button is shown below.

ActiveWorkbook.FollowHyperlink Address:="\\someservername\folder1\folder2",
NewWindow:=True

Oh, and I am using Excel 2003/WinXP. TIA for your help.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 415
Default Stop showing the Folder explorer bar?

Application.CommandBars("Web").Visible = False

NickHK

"M. Authement" .gbl...
I have added a custom menu as part of an add-in which contains a button
that brings up a folder. This works, but the Folder explorer bar is shown
and I would prefer that it didn't. Any thoughts on how to eliminate the
Folder view? The code I have attached to the button is shown below.

ActiveWorkbook.FollowHyperlink
Address:="\\someservername\folder1\folder2", NewWindow:=True

Oh, and I am using Excel 2003/WinXP. TIA for your help.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 94
Default Stop showing the Folder explorer bar?

Nick,

I assume that bit of code would hide Excel's Web toolbar, but it does do
what I am looking for (at least I could not get it to work). What I am
attempting to do is open a folder in a separate Windows Explorer window that
contains a bunch of files (Word documents to be exact). Using the
ActiveWorkbook.FollowHyperlink does achieve this goal, but on the left side
of the window is a treeview list of folders. If I select ViewExplorer Bars
I can see that the Folders bar is checked (and can then uncheck it so that
it no longer appears). Can I does this programmatically using VBA code, and
more specifically, how?

"NickHK" wrote in message
...
Application.CommandBars("Web").Visible = False

NickHK

"M. Authement"
.gbl...
I have added a custom menu as part of an add-in which contains a button
that brings up a folder. This works, but the Folder explorer bar is shown
and I would prefer that it didn't. Any thoughts on how to eliminate the
Folder view? The code I have attached to the button is shown below.

ActiveWorkbook.FollowHyperlink
Address:="\\someservername\folder1\folder2", NewWindow:=True

Oh, and I am using Excel 2003/WinXP. TIA for your help.





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy explorer folder list to excel KK New Users to Excel 9 May 14th 07 05:02 AM
how do i remove folder explorer side bar Gtassoc Excel Worksheet Functions 0 August 16th 06 01:57 AM
Embed Folder Treeview Or Windows Explorer On UserForm MDW Excel Programming 4 January 27th 06 03:49 PM
Multiple instances of a workbook showing in Project Explorer Charles Jordan Excel Programming 4 March 2nd 05 06:03 AM
Displaying Folder Structure and Files from WIndows Explorer to Excel Bill Lunney Excel Programming 0 July 16th 03 04:50 PM


All times are GMT +1. The time now is 10:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"