Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I get something like IE View Source . . . Navigate therewith VBA
Hello friends! I have a SharePoint URL, which I define as this:
URL = https://collaboration.co.net/sites/U...d%20Documents/ Here is my VBA: setrestart: Set IE = Nothing Set IE = CreateObject("InternetExplorer.Application") With IE .navigate URL .Visible = False 'Wait for page to load While .Busy Or .readyState < 4 Or IE.Busy = True: Wend Set HTMLdoc = .document End With Application.StatusBar = "Processing your Request. Please wait..." xlFile = strpath & "/" & strFullString & ".xls" '& ActiveWorkbook.Name activeWB = strFullString & ".xls" Now . . . I’m trying to see if files are checked out from the SharePoint site, so I’m thinking of using a line of VBA, as such If InStr(1, URL, "Checked Out To:") 1 Then ‘ . . . do something End If Of, course, the URL is just the string from above. What I really want to do is something like go into IE View Source . . . THEN and only then, I can start to use my If InStr command. I’m sure I’ll have a combination of If InStr commends, actually. So, my question is, how do I get something like IE View Source and assign that to some variable, URL2, or whatever? Thanks!!! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
View Pivot Table Source Data | Excel Discussion (Misc queries) | |||
Is there a shortcut to view a list of all worksheets and navigate | Excel Discussion (Misc queries) | |||
view source worksheet when entering formula | Setting up and Configuration of Excel | |||
How do I view and edit the source code for a Chart in Excel 2003? | Charts and Charting in Excel | |||
How do I view Pivot Table source data file and field names? | Excel Discussion (Misc queries) |