Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 77
Default Import Web Page

Hi all

This is what I am Using at the moment.

Sub Import_Web_Page()
Dim strDriver, intCount, intLastrow

'Import Webpage with external data query
'I have 1200 of these files, Is There a good way to select any of these
files
'So I could choose any One file and import That One file Quickly.


With ActiveSheet.QueryTables.Add(Connection:= _
"URL;C:\test\Test23.html", Destination:=Range("A1"))
.Name = "eor1_4"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlEntirePage
.WebFormatting = xlWebFormattingNone
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.Refresh BackgroundQuery:=False
End With

End Sub


Thanks in Advance

Dave






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
how to import data from a web page TUNGANA KURMA RAJU Excel Discussion (Misc queries) 0 April 3rd 08 04:28 PM
Omni page import stripedfrog via OfficeKB.com Excel Discussion (Misc queries) 2 January 9th 07 03:13 PM
import a variable number from a web page Brian Excel Worksheet Functions 3 June 20th 06 05:40 PM
How to import a table on a Web page to Excel? Dmitry Kopnichev Excel Discussion (Misc queries) 8 November 11th 05 10:26 AM
Import data from a web page POE Society Excel Discussion (Misc queries) 1 April 15th 05 12:11 AM


All times are GMT +1. The time now is 12:15 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"