Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default trouble opening websites

Within some code I wrote, I have a line of code that simply opens a
website by using the Workbooks.Open command. When I run it, and when
another co-worker runs it, it works fine. However, I have a 3rd
co-worker who tries running it, and when it gets to that line, he gets
an error that says something along the lines of "Object with variable
not set", or something like that.

Is there any reason why something like this would only work on certain
machines? Thanks for your help.

Keith
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default trouble opening websites


"that line" and "like this"
are not very definitive.

--
Regards,
Tom Ogilvy

"Keith" wrote in message
m...
Within some code I wrote, I have a line of code that simply opens a
website by using the Workbooks.Open command. When I run it, and when
another co-worker runs it, it works fine. However, I have a 3rd
co-worker who tries running it, and when it gets to that line, he gets
an error that says something along the lines of "Object with variable
not set", or something like that.

Is there any reason why something like this would only work on certain
machines? Thanks for your help.

Keith



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default trouble opening websites

The line of code I'm having trouble with is...

Workbooks.Open _
"http://www.weather.com/weather/climatology/daily/USTX1200?climoMonth=12"

For me, and for several co-workers, this line of code executes just
fine. However there is one co-worker's machine that, for whatever
reason, gives the following error:

"Object variable or with block variable not set"
It's run-time error 91.

Anyone know why this could be happening?

Thanks - Keith



"Tom Ogilvy" wrote in message ...
"that line" and "like this"
are not very definitive.

--
Regards,
Tom Ogilvy

"Keith" wrote in message
m...
Within some code I wrote, I have a line of code that simply opens a
website by using the Workbooks.Open command. When I run it, and when
another co-worker runs it, it works fine. However, I have a 3rd
co-worker who tries running it, and when it gets to that line, he gets
an error that says something along the lines of "Object with variable
not set", or something like that.

Is there any reason why something like this would only work on certain
machines? Thanks for your help.

Keith

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
trouble opening old 5.0 file Karen Excel Discussion (Misc queries) 0 April 20th 07 02:34 AM
Trouble opening files Robert New Users to Excel 5 November 21st 06 12:06 PM
UGH! Trouble downloading, and opening anything cali Excel Discussion (Misc queries) 1 December 15th 05 06:36 AM
Trouble opening second notebook Molly Excel Discussion (Misc queries) 1 December 8th 04 03:48 AM
opening websites with random addresses Keith[_7_] Excel Programming 1 December 1st 03 02:59 PM


All times are GMT +1. The time now is 10:18 PM.

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"