Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Error message in Web Query written in VBA

Hello to everybody!
I'm a new programmer in VBA and I'm trying to develop a macro in order
to get data through a web query.
For some query I have a problem I cannot solve by myself: when I try
to transfer a big web page table in excel this error message appear
"There are currently too many topics in this group that display first.
To make this topic appear first, remove this option from another
topic.".
Can someone help me?
Below you can find my VBA code.
Thanks a lot

Set QT =
ActiveSheet.QueryTables.Add(Connection:=ConnectStr ing,
Destination:=Range("A1"))
With QT
.Name = myname
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = False
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingAll
.WebTables = "1"
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
End With

' Refresh the Query
QT.Refresh BackgroundQuery:=True

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Error message in Web Query written in VBA

If the url, etc is not proprietary, post it and we can take a look.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"sea urchin" wrote in message
oups.com...
Hello to everybody!
I'm a new programmer in VBA and I'm trying to develop a macro in order
to get data through a web query.
For some query I have a problem I cannot solve by myself: when I try
to transfer a big web page table in excel this error message appear
"There are currently too many topics in this group that display first.
To make this topic appear first, remove this option from another
topic.".
Can someone help me?
Below you can find my VBA code.
Thanks a lot

Set QT =
ActiveSheet.QueryTables.Add(Connection:=ConnectStr ing,
Destination:=Range("A1"))
With QT
.Name = myname
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = False
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingAll
.WebTables = "1"
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
End With

' Refresh the Query
QT.Refresh BackgroundQuery:=True


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
I want to protect ms query written in excel to view, change, del copy Excel Discussion (Misc queries) 0 September 5th 09 10:24 AM
Disabling error message with Web Query Guilherme Soares Excel Programming 5 March 14th 07 04:22 AM
MS Query Error Message Mark Excel Programming 0 October 13th 06 12:07 PM
MS Query Error Message Mark Excel Programming 0 October 13th 06 12:06 PM
error message in Microsoft Query - ORA-00903 invalid table name bert Excel Programming 2 October 28th 04 10:06 AM


All times are GMT +1. The time now is 03:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"