Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Open HTM file from Excel

Dear All,
I am using Windows XP, Excel 2003

Please review the following code:

Sub OpenFunctionHelpFile()
Dim sPath As String
sPath = ThisWorkbook.Path

With ThisWorkbook
.FollowHyperlink sPath & "\Help on Custom Functions.htm"

End With
End Sub

Problem is when I run this macro, sometimes this works properly.
However sometimes when I run this macro, Excel crashes. I have tried
different files. also recreated the "Help on Custom Functions.htm" file
but to no benefit. Same problem occuring again and again. Macro working
sometime - at other times causing Excel to crash.
What should I do?
Is there some workaround to the same?
Thanks in advance
Vikesh Jain

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Open HTM file from Excel

Dear All,
Can anybody help on this?????????
Thanks

Vikesh Jain wrote:
Dear All,
I am using Windows XP, Excel 2003

Please review the following code:

Sub OpenFunctionHelpFile()
Dim sPath As String
sPath = ThisWorkbook.Path

With ThisWorkbook
.FollowHyperlink sPath & "\Help on Custom Functions.htm"

End With
End Sub

Problem is when I run this macro, sometimes this works properly.
However sometimes when I run this macro, Excel crashes. I have tried
different files. also recreated the "Help on Custom Functions.htm" file
but to no benefit. Same problem occuring again and again. Macro working
sometime - at other times causing Excel to crash.
What should I do?
Is there some workaround to the same?
Thanks in advance
Vikesh Jain


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
excel 2003 saved file will not open without a blank workbook open Bob Excel Discussion (Misc queries) 4 November 11th 06 04:24 PM
In Excel - Use Windows Explorer instead of File Open to open file KymY Excel Discussion (Misc queries) 1 August 5th 06 09:59 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
Open email windows can't open, excel shreadsheet file .xls ? skiz Excel Discussion (Misc queries) 0 October 2nd 05 07:03 PM
How do I stop Excel from closing the open file each time I open a. Welsin Setting up and Configuration of Excel 3 January 8th 05 11:16 PM


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