Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I'm using VBA At the moment to open windows explorer I'm using: Shell "c:\winNT\explorer /n,/e," Is there a way to use CreateObject? Would that be a better way or is Shell as good as it gets? Thanks Dave F. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dave,
I would have thought that the window explorer does not support automation, so CreateObject is not an option. -- HTH Bob Phillips "Dave F." wrote in message ... Hi I'm using VBA At the moment to open windows explorer I'm using: Shell "c:\winNT\explorer /n,/e," Is there a way to use CreateObject? Would that be a better way or is Shell as good as it gets? Thanks Dave F. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can create aninstance of Internet Explorer as follows:
set ie= CreateObject("InternetExplorer.Application") It has te following methods : ExecWB, Navigate2, QueryStatusWB,ShowBrowserBar and the following properties: AddressBar,Offline, ReadyState,RegisterAsBrowser,RegisterAsDropTarget, Resizable,Silent,TheaterMode There are no events. "Bob Phillips" wrote: Dave, I would have thought that the window explorer does not support automation, so CreateObject is not an option. -- HTH Bob Phillips "Dave F." wrote in message ... Hi I'm using VBA At the moment to open windows explorer I'm using: Shell "c:\winNT\explorer /n,/e," Is there a way to use CreateObject? Would that be a better way or is Shell as good as it gets? Thanks Dave F. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for replying
What programs do support automation? Is it only those that have VBA built into them? or are there other ways to interact with them? Cheers Dave F. "Bob Phillips" wrote in message ... Dave, I would have thought that the window explorer does not support automation, so CreateObject is not an option. -- HTH Bob Phillips "Dave F." wrote in message ... Hi I'm using VBA At the moment to open windows explorer I'm using: Shell "c:\winNT\explorer /n,/e," Is there a way to use CreateObject? Would that be a better way or is Shell as good as it gets? Thanks Dave F. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The OP asked about windows explorer and you responded with information on
Internet Explorer - were you suggesting Internet Explore as an alternative/replacement for windows explorer? -- Regards, Tom Ogilvy "AA2e72E" wrote in message ... You can create aninstance of Internet Explorer as follows: set ie= CreateObject("InternetExplorer.Application") It has te following methods : ExecWB, Navigate2, QueryStatusWB,ShowBrowserBar and the following properties: AddressBar,Offline, ReadyState,RegisterAsBrowser,RegisterAsDropTarget, Resizable,Silent,TheaterMode There are no events. "Bob Phillips" wrote: Dave, I would have thought that the window explorer does not support automation, so CreateObject is not an option. -- HTH Bob Phillips "Dave F." wrote in message ... Hi I'm using VBA At the moment to open windows explorer I'm using: Shell "c:\winNT\explorer /n,/e," Is there a way to use CreateObject? Would that be a better way or is Shell as good as it gets? Thanks Dave F. |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Cheers
Unfortunately I want to work with Windows Explorer not Internet Explorer. Dave F. "AA2e72E" wrote in message ... You can create aninstance of Internet Explorer as follows: set ie= CreateObject("InternetExplorer.Application") It has te following methods : ExecWB, Navigate2, QueryStatusWB,ShowBrowserBar and the following properties: AddressBar,Offline, ReadyState,RegisterAsBrowser,RegisterAsDropTarget, Resizable,Silent,TheaterMode There are no events. "Bob Phillips" wrote: Dave, I would have thought that the window explorer does not support automation, so CreateObject is not an option. -- HTH Bob Phillips "Dave F." wrote in message ... Hi I'm using VBA At the moment to open windows explorer I'm using: Shell "c:\winNT\explorer /n,/e," Is there a way to use CreateObject? Would that be a better way or is Shell as good as it gets? Thanks Dave F. |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
As an alternative, perhaps:
ie.visible = true ie.Navigate2 "c:\" "Tom Ogilvy" wrote: The OP asked about windows explorer and you responded with information on Internet Explorer - were you suggesting Internet Explore as an alternative/replacement for windows explorer? -- Regards, Tom Ogilvy "AA2e72E" wrote in message ... You can create aninstance of Internet Explorer as follows: set ie= CreateObject("InternetExplorer.Application") It has te following methods : ExecWB, Navigate2, QueryStatusWB,ShowBrowserBar and the following properties: AddressBar,Offline, ReadyState,RegisterAsBrowser,RegisterAsDropTarget, Resizable,Silent,TheaterMode There are no events. "Bob Phillips" wrote: Dave, I would have thought that the window explorer does not support automation, so CreateObject is not an option. -- HTH Bob Phillips "Dave F." wrote in message ... Hi I'm using VBA At the moment to open windows explorer I'm using: Shell "c:\winNT\explorer /n,/e," Is there a way to use CreateObject? Would that be a better way or is Shell as good as it gets? Thanks Dave F. |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Alternatively, try:
Sub aa() Set xx = CreateObject("WScript.Shell") xx.Exec "EXPLORER.EXE c:\ajay" Set xx = Nothing End Sub "Dave F." wrote: Thanks for replying What programs do support automation? Is it only those that have VBA built into them? or are there other ways to interact with them? Cheers Dave F. "Bob Phillips" wrote in message ... Dave, I would have thought that the window explorer does not support automation, so CreateObject is not an option. -- HTH Bob Phillips "Dave F." wrote in message ... Hi I'm using VBA At the moment to open windows explorer I'm using: Shell "c:\winNT\explorer /n,/e," Is there a way to use CreateObject? Would that be a better way or is Shell as good as it gets? Thanks Dave F. |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for replying,
Correct me if I'm wrong, but isn't that the same as (or v. similar to) doing: Shell "c:\winNT\explorer /n,/e, c:\ajay" Dave F. "AA2e72E" wrote in message ... Alternatively, try: Sub aa() Set xx = CreateObject("WScript.Shell") xx.Exec "EXPLORER.EXE c:\ajay" Set xx = Nothing End Sub "Dave F." wrote: Thanks for replying What programs do support automation? Is it only those that have VBA built into them? or are there other ways to interact with them? Cheers Dave F. "Bob Phillips" wrote in message ... Dave, I would have thought that the window explorer does not support automation, so CreateObject is not an option. -- HTH Bob Phillips "Dave F." wrote in message ... Hi I'm using VBA At the moment to open windows explorer I'm using: Shell "c:\winNT\explorer /n,/e," Is there a way to use CreateObject? Would that be a better way or is Shell as good as it gets? Thanks Dave F. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Windows Explorer | Excel Worksheet Functions | |||
Windows Explorer maximizes over XL 2000, if opened w/ explorer | Excel Discussion (Misc queries) | |||
Windows Explorer Question | Excel Programming | |||
Use Windows Script to run Windows Explorer Search? | Excel Programming | |||
Load Windows Explorer | Excel Programming |