Article ID: 188033
Article Last Modified on 9/11/2002
Workbooks.Open FileName:="hard drive:Temporary Items:MSO8AAB19B27E2"The file in this example, MSO8AAB19B27E2, is a temporary file and may not exist on your computer.
Sub Macro1()
ActiveWorkbook.FollowHyperlink Address:="http://server/web/filename", _
NewWindow:=False, AddHistory:=True
Workbooks.Open FileName:="hard drive:Temporary Items:MSO8AAB19B27E2"
ActiveWindow.Visible = False
Windows("http://server/web/filename").Visible = True
End Sub
Note the line containing the Open method for the Workbook object. This line
of code is not necessary because the FollowHyperlink method displays a
cached document or downloads the target document and then opens it in
Excel. There is no need to open the temporary file because the workbook
from the Web server is already open in Excel.
176476 OFF: Office Assistant Not Answering Visual Basic Questions
Additional query words: XL98
Keywords: kbbug kbpending KB188033