Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 550
Default Web Query Stopped Working

I designed a workbook that extracted the winning numbers from QuickDraw from
a web page using a query.
I then had it do all sorts of nice things matching my favorite numbers,
showing what I would have won, lost, etc.

Problem is the web query stopped working last week???
Apparently they must have changed the formatting in the source code and the
query returns nothing.
I've been trying workarounds but to no avail.
I can open the web page in IE and then do a copy and paste but I can't get
the web page to open
within Excel. Workbooks.Open URL & OpenText both return an error.

Any ideas would be greatly appreciated.

The web page is:
http://www.nylottery.org/ny/nyStore/...avRoot_302.htm

Thanks,
John


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Web Query Stopped Working

This is some strange behavior! I tried it and couldn't get it working
either. You could copy/paste the data to Notepad (which removes all
web-formatting stuff) and then, from there, paste it in an Excel sheet.

Maybe they though people with powerful Excel Web Queries would win the
lottery too many times and put them out of business. :)

Regards,
Ryan---

--
RyGuy


"John Wilson" wrote:

I designed a workbook that extracted the winning numbers from QuickDraw from
a web page using a query.
I then had it do all sorts of nice things matching my favorite numbers,
showing what I would have won, lost, etc.

Problem is the web query stopped working last week???
Apparently they must have changed the formatting in the source code and the
query returns nothing.
I've been trying workarounds but to no avail.
I can open the web page in IE and then do a copy and paste but I can't get
the web page to open
within Excel. Workbooks.Open URL & OpenText both return an error.

Any ideas would be greatly appreciated.

The web page is:
http://www.nylottery.org/ny/nyStore/...avRoot_302.htm

Thanks,
John



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Web Query Stopped Working

I just tried your url to bring up the web pageright click export to
excel worked fine. Send your wb to my address below if you like. From my
excel wb.
(Payout Info)
791071 06/15/2008 23:59 1 5 7 16 20 21
791070 06/15/2008 23:56 6 7 9 14 24 31
791069 06/15/2008 23:52 8 12 16 21 23 36
791068 06/15/2008 23:48 3 8 9 15 20 21
791067 06/15/2008 23:44 2 3 6 9 17 24
791066 06/15/2008 23:40 3 4 13 17 18 19

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"ryguy7272" wrote in message
...
This is some strange behavior! I tried it and couldn't get it working
either. You could copy/paste the data to Notepad (which removes all
web-formatting stuff) and then, from there, paste it in an Excel sheet.

Maybe they though people with powerful Excel Web Queries would win the
lottery too many times and put them out of business. :)

Regards,
Ryan---

--
RyGuy


"John Wilson" wrote:

I designed a workbook that extracted the winning numbers from QuickDraw
from
a web page using a query.
I then had it do all sorts of nice things matching my favorite numbers,
showing what I would have won, lost, etc.

Problem is the web query stopped working last week???
Apparently they must have changed the formatting in the source code and
the
query returns nothing.
I've been trying workarounds but to no avail.
I can open the web page in IE and then do a copy and paste but I can't
get
the web page to open
within Excel. Workbooks.Open URL & OpenText both return an error.

Any ideas would be greatly appreciated.

The web page is:
http://www.nylottery.org/ny/nyStore/...avRoot_302.htm

Thanks,
John




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 550
Default Web Query Stopped Working

Don,

It is some strange behavior especially when it did work (for years) without
a glitch.
I never did save the source for the original page (before it stopped
working) but
to the untrained eye (mine) it didn't look any different than before (but
something
obviously changed).
Anyway.....
Tim Williams answered my question in another post in this NG "Extracting Web
Data"
and provided some really neat code to accomplish what I was trying to do.
Thread is he http://tinyurl.com/62945q

I'll send you a copy of the completed wb (utilizing Tim's code) directly if
you
want to take a look at it.

Thanks,
John Wilson






"Don Guillett" wrote in message
...
I just tried your url to bring up the web pageright click export to
excel worked fine. Send your wb to my address below if you like. From my
excel wb.
(Payout Info)
791071 06/15/2008 23:59 1 5 7 16 20 21
791070 06/15/2008 23:56 6 7 9 14 24 31
791069 06/15/2008 23:52 8 12 16 21 23 36
791068 06/15/2008 23:48 3 8 9 15 20 21
791067 06/15/2008 23:44 2 3 6 9 17 24
791066 06/15/2008 23:40 3 4 13 17 18 19

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"ryguy7272" wrote in message
...
This is some strange behavior! I tried it and couldn't get it working
either. You could copy/paste the data to Notepad (which removes all
web-formatting stuff) and then, from there, paste it in an Excel sheet.

Maybe they though people with powerful Excel Web Queries would win the
lottery too many times and put them out of business. :)

Regards,
Ryan---

--
RyGuy


"John Wilson" wrote:

I designed a workbook that extracted the winning numbers from QuickDraw
from
a web page using a query.
I then had it do all sorts of nice things matching my favorite numbers,
showing what I would have won, lost, etc.

Problem is the web query stopped working last week???
Apparently they must have changed the formatting in the source code and
the
query returns nothing.
I've been trying workarounds but to no avail.
I can open the web page in IE and then do a copy and paste but I can't
get
the web page to open
within Excel. Workbooks.Open URL & OpenText both return an error.

Any ideas would be greatly appreciated.

The web page is:
http://www.nylottery.org/ny/nyStore/...avRoot_302.htm

Thanks,
John





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Web Query Stopped Working


I also could NOT get the query to REFRESH.???
Tim's code useful
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Don Guillett" wrote in message
...
I just tried your url to bring up the web pageright click export to
excel worked fine. Send your wb to my address below if you like. From my
excel wb.
(Payout Info)
791071 06/15/2008 23:59 1 5 7 16 20 21
791070 06/15/2008 23:56 6 7 9 14 24 31
791069 06/15/2008 23:52 8 12 16 21 23 36
791068 06/15/2008 23:48 3 8 9 15 20 21
791067 06/15/2008 23:44 2 3 6 9 17 24
791066 06/15/2008 23:40 3 4 13 17 18 19

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"ryguy7272" wrote in message
...
This is some strange behavior! I tried it and couldn't get it working
either. You could copy/paste the data to Notepad (which removes all
web-formatting stuff) and then, from there, paste it in an Excel sheet.

Maybe they though people with powerful Excel Web Queries would win the
lottery too many times and put them out of business. :)

Regards,
Ryan---

--
RyGuy


"John Wilson" wrote:

I designed a workbook that extracted the winning numbers from QuickDraw
from
a web page using a query.
I then had it do all sorts of nice things matching my favorite numbers,
showing what I would have won, lost, etc.

Problem is the web query stopped working last week???
Apparently they must have changed the formatting in the source code and
the
query returns nothing.
I've been trying workarounds but to no avail.
I can open the web page in IE and then do a copy and paste but I can't
get
the web page to open
within Excel. Workbooks.Open URL & OpenText both return an error.

Any ideas would be greatly appreciated.

The web page is:
http://www.nylottery.org/ny/nyStore/...avRoot_302.htm

Thanks,
John







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 550
Default Web Query Stopped Working

Don,

I think (not sure) that the query does refresh but for some reason
(something embedded in the web page) it returns no data.
I do wish that I had saved a before and after copy of the source on that web
page to see what they did change.

Thanks,
John

"Don Guillett" wrote in message
...

I also could NOT get the query to REFRESH.???
Tim's code useful
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Don Guillett" wrote in message
...
I just tried your url to bring up the web pageright click export to
excel worked fine. Send your wb to my address below if you like. From
my excel wb.
(Payout Info)
791071 06/15/2008 23:59 1 5 7 16 20 21
791070 06/15/2008 23:56 6 7 9 14 24 31
791069 06/15/2008 23:52 8 12 16 21 23 36
791068 06/15/2008 23:48 3 8 9 15 20 21
791067 06/15/2008 23:44 2 3 6 9 17 24
791066 06/15/2008 23:40 3 4 13 17 18 19

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"ryguy7272" wrote in message
...
This is some strange behavior! I tried it and couldn't get it working
either. You could copy/paste the data to Notepad (which removes all
web-formatting stuff) and then, from there, paste it in an Excel sheet.

Maybe they though people with powerful Excel Web Queries would win the
lottery too many times and put them out of business. :)

Regards,
Ryan---

--
RyGuy


"John Wilson" wrote:

I designed a workbook that extracted the winning numbers from QuickDraw
from
a web page using a query.
I then had it do all sorts of nice things matching my favorite numbers,
showing what I would have won, lost, etc.

Problem is the web query stopped working last week???
Apparently they must have changed the formatting in the source code and
the
query returns nothing.
I've been trying workarounds but to no avail.
I can open the web page in IE and then do a copy and paste but I can't
get
the web page to open
within Excel. Workbooks.Open URL & OpenText both return an error.

Any ideas would be greatly appreciated.

The web page is:
http://www.nylottery.org/ny/nyStore/...avRoot_302.htm

Thanks,
John






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
Ahh.. so frustrated - Web Query stopped working Bluepenguin Excel Discussion (Misc queries) 2 August 17th 07 02:02 PM
XL2000 stock price web query stopped working Matthew Guerreiro Excel Discussion (Misc queries) 13 May 30th 06 04:16 PM
Web query has stopped working... andrewm27 Excel Discussion (Misc queries) 0 April 20th 06 05:28 AM
Remote data query stopped working Mark Scholes Excel Programming 0 February 24th 05 08:47 AM
query wizard has stopped working how do i rectify this Marie LND Excel Worksheet Functions 0 February 18th 05 11:31 AM


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