Width 'Sets or gets the width of the object. Height 'Sets or gets the height of the object.ĭebug.Print. Left 'Sets or gets the coordinate of the left edge of the object.ĭebug.Print. Top 'Sets or gets the coordinate of the top edge of the object.ĭebug.Print. Type 'Gets the user type name of the contained document object.ĭebug.Print. Silent 'Sets or gets a value that indicates whether the object can display dialog boxes.ĭebug.Print. Refresh 'Reloads the file that is currently displayed in the object.ĭebug.Print. Stop 'Cancels a pending navigation or download, and stops dynamic page elements, such as background sounds and animations. GoHome 'Navigates to the current home or start page. GoForward 'Navigates forward one item in the history list. GoBack 'Navigates backward one item in the history list ReadyState 'Gets the ready state of the object. Busy 'Gets a value that indicates whether the object is engaged in a navigation or downloading operation.ĭebug.Print. Navigate2 "" 'Navigates the browser to a location that might not be expressed as a URL, such as a PIDL for an entity in the Windows Shell namespace.ĭebug.Print. Visible = True 'Sets or gets a value that indicates whether the object is visible or hidden. Sub IEGetToKnow()ĭim IE As InternetExplorer 'Reference to Microsoft Internet Controls I recommend stepping through it, otherwise it might error out during multiple navigations. The code below should introduce how the IE object works and how to manipulate it through VBA. Tools> References> Microsoft Internet ControlsĬontrols an instance of Windows Internet Explorer through automation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |