LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
Sam Sam is offline
external usenet poster
 
Posts: 699
Default Maximun number of hyperlinks in Excel

I am adding hyperlinks to a excel sheet by writing a macro. After 65502
number of hyperlinks i am not able to add the hyperlinks in excel. Is there
any limitation regarding the number of hyperlinks in a excel sheet? Here is
the macro I have used

Sub HyperLink_Test()

' Local Variables
Dim nWorkSheet As Worksheet
Dim nRange As Range
Dim strAddess As String, strDisplayText As String

' Step 1 : Loop through all worksheets
' 1a : Clear all current hyperlinks
Worksheets("Sheet1").Range("A:Z").ClearContents
' 1b : Create Linked index list

Dim i As Long
Dim j As Long


Dim count As Long

count = 0

For i = 1 To 70000

Set nRange = Worksheets("Sheet1").Range("A:Z").End(xlUp)
If (i 1) Then
Set nRange = nRange.Offset(i - 1, 0)
End If
For j = 1 To 10



strAddess = "'" & XYZ & "'"
strDisplayText = "HyperLink : "
Worksheets("Sheet Index").Hyperlinks.Add Anchor:=nRange,
Address:="ddd", SubAddress:="", TextToDisplay:="ab"
count = count + 1
If count = 65530 Then
GoTo End1
End If
Set nRange = nRange.Offset(0, 1)

Next j


Next i

End1:



End Sub

 
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
width at the hlaf maximun peak Mauro Charts and Charting in Excel 0 March 27th 08 11:56 PM
Update 2000 Excel hyperlinks to 2003 hyperlinks lonv155 Excel Worksheet Functions 4 October 25th 07 05:51 AM
How toi turn-off hyperlinks [excel]? Email hyperlinks pop up ! jacob735 Excel Discussion (Misc queries) 1 June 22nd 07 12:57 AM
Maximun number of rows and columns OssieMac Excel Discussion (Misc queries) 3 March 22nd 07 09:52 AM
Excel limitation on number of hyperlinks in worksheet? [email protected] Links and Linking in Excel 0 July 12th 06 08:30 PM


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