トップ 差分 一覧 ping ソース 検索 ヘルプ PDF RSS ログイン

VBA 起動中のInternetExplorerを操作する



目次



記事一覧

キーワード

VBA 起動中のInternetExplorerを操作する

[IE][VBA]

 起動中のIEのツールバー、メニューバーを表示する

Dim shl    As Object
Dim w      As Object
Dim ie     As Object  'InternetExplorer

Set shl = CreateObject("Shell.Application")

For Each w In shl.Windows
    If TypeName(w.document) = "HTMLDocument" Then
        Set ie = w
        ie.Toolbar = 1
        ie.MenuBar = True
    End If
Next
   



YAGI Hiroto (piroto@a-net.email.ne.jp)
twitter http://twitter.com/pppiroto

Copyright© 矢木 浩人 All Rights Reserved.