Hyperlinks in Apple Numbers

Is there a way to make hyperlinks invisible? If I enter a hyperlink in a textbox it shows that ugly curly arrow, and makes one click right on the arrow and then brings up that stupid box which asks me if I want to go to the sheet which I have already programmed in the link to do. Why after I enter the link is this extra fluff necessary? Is there a way to not have all that in a text box? Also can one make a frame on the textbox to make it stand out more?

If I select text in a table cell and add the link to that, it does not show the green arrow or the box. I simply click on the text in that cell (for example, sheet 1 contains a one column table which is the table of contents for the entire workbook and each cell has the name of a sheet) and it goes to the sheet. If I put a one celled table on that sheet I can link back to the table of contents the same way.

An even better solution would be to have a subroutine or whatever to automatically create or update this table of contents when sheets are added or deleted or names changed.

That's my two cents worth. Thank you.



MacBook Pro

Posted on Feb 1, 2023 6:44 AM

Reply
2 replies

Feb 1, 2023 8:34 AM in response to Dennis432

Send your feature request to Apple.


Numbers->Provide Numbers Feedback


If you would be okay with clicking a cell (one that has a sheet name in it) then using a keyboard shortcut to make the actual jump, a script is available that can do that. It can jump you to a specific sheet:table::cell or to sheet:table::A1 if the cell is not provided. The script can be saved as a service or shortcut and assigned a keyboard shortcut. A column of sheet names in a table can be created automatically with some formulas if there is a pattern to the sheet names (Sheet 1 Sheet 2 etc or Jan Feb Mar etc.) that can be created by formula.


-- Goto Numbers Cell
-- In a cell in a table will be text of the form sheetname::tablename::cellname
-- such as Sheet 1::Table 1::D4
-- Select the cell then run the script and the focus should move to the specified cell.
-- Alternatively, the cell may contain sheet and table name without the cell name
-- such as Sheet 1::Table 1
-- In this case the focus will move to cell A1 of the specified table



tell application "Numbers"
	tell front document
		tell active sheet
			tell (first table whose selection range's class is range)
				set linktext to (value of first cell of (selection range)'s cells as text)
			end tell
		end tell
		
		set myArray to my theSplit(linktext, "::")
		
		set active sheet to sheet (item 1 of myArray)
		tell active sheet to tell table (item 2 of myArray)
			if number of items of myArray = 3 then
				set selection range to cell (item 3 of myArray)
			else
				set selection range to cell "A1"
			end if
		end tell
		
	end tell
end tell


on theSplit(theString, theDelimiter)
	-- save delimiters to restore old settings
	set oldDelimiters to AppleScript's text item delimiters
	-- set delimiters to delimiter to be used
	set AppleScript's text item delimiters to theDelimiter
	-- create the array
	set theArray to every text item of theString
	-- restore the old setting
	set AppleScript's text item delimiters to oldDelimiters
	-- return the result
	return theArray
end theSplit



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Hyperlinks in Apple Numbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.