LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Workbooks.Open(URL) not working

It's been awhile, but I have seen posts like this:

I have seen posts like this that:

Private Sub Workbook_Open()
Application.OnTime Now, "Continue_Open"
End Sub

Then in a general module:

sub Continue_Open()
'your real code here
end sub

Sometimes there would be timing issues that could be avoided this way. (I've
never seen this in real life, though--but others have.)

wrote:

Dave,

Many, many thanks - that worked a treat..!! I'm awestruck because its
hard to tell how many years of experience went behind that simple,
left-field solution :-)

I've tested your solution on a couple of PCs so far - all worked fine.

Heck of a relief because I'd made a commitment that this opening the
URL workbook was easy stuff anyone could do, but then it blew up over
this illogical problem and I've been sweating all weekend trying to
figure a solution. You've saved my derriere!

Much appreciated again,
Chris Adams

Dave Peterson wrote:

Try moving the code from workbook_Open() to Auto_Open() (in a general module).


--

Dave Peterson
 
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
duplicate workbooks open while working in that file rob86021 Excel Discussion (Misc queries) 2 October 16th 07 09:24 PM
workbooks.open function fails to open an existing excel file when used in ASP, but works in VB. san Excel Programming 1 January 3rd 06 03:22 AM
Problem with Macro working in new workbooks that I open chris_rip Excel Programming 2 March 29th 05 05:19 PM
Excel 2003 Workbooks.Open with CorruptLoad=xlRepairFile fails on Excel 5.0/95 file due to Chart, with Error 1004 Method 'Open' of object 'Workbooks' failed Frank Jones Excel Programming 2 June 15th 04 03:21 AM
Workbooks.Open / .Open Text - How do you stop the .xls addition? Dave[_20_] Excel Programming 2 July 31st 03 04:03 AM


All times are GMT +1. The time now is 02:42 AM.

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"