LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Hyperlink problem

Hello,

I have a spreadsheet that is created from Access using VBA to display
customer information.
The excel workbook is created ok and generates new sheets for call history
of each machine a cusomer has. However when a customer has say 40 machines
this generates a workbook with at least 40 sheets - difficult to navigate!
I automatically name each sheet in the following format - serial number -
model
On the first sheet I list all of the machines and thought it would be
usefull to hyperlink to each sheet - this I can achieve no problem and works
the first time you do it, however if you close excel and try it again Excel
opens but is blank.
If you do it again it crashes complaing about renaming sheets.
If you open task manager you can end the Excel process and then it works
again.
It appears that after creating the code to do the hyperlinks Excel seems to
remember them, until the process is not in memory.


I used the following code to create links on each sheet to go back to the
main page.

..Hyperlinks.Add Range("H1"), Address:="", SubAddress:="'Customer
Details'!A1", TextToDisplay:="Back"

If I coment out this line I can generate the spreadsheet, close it without
saving changes and then create it again with no problems.

Can anybody suggest a fix?


 
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
Hyperlink problem. WenyanCong Excel Discussion (Misc queries) 1 May 10th 09 06:01 AM
hyperlink problem bgerber Excel Worksheet Functions 0 October 6th 06 06:36 PM
Hyperlink Problem Eric Excel Discussion (Misc queries) 1 January 31st 06 09:00 PM
Hyperlink Problem John Calder Links and Linking in Excel 1 November 25th 05 11:46 PM
Hyperlink problem xnman Excel Programming 0 May 7th 04 03:56 PM


All times are GMT +1. The time now is 03:04 PM.

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"