Excel 2010 - Hyperlink Text Only & Not Entire Cell - excel

Is there a way to add a hyperlink to text only and not the entire cell in Excel 2010?
I am only able to insert a hyperlink which affects the entire cell (even white space after the text), but I wish to have it so that a user can click on the non-hyperlinked section of the cell in order to select the cell without activating the hyperlink.
Is this possible (ideally without VB)?
Many thanks.

I'm not sure.. I just wrote this, but it acts the same as adding a hyper reference (although you can still select the whitespace of a cell (after the text has finished) and it won't follow the link)
=CONCATENATE("This is your ", HYPERLINK("http://www.google.com","Google"), " link")
Just as a FYI, you can hold ALT key and click on a cell without it opening the URI

I got over this by turning off the "wrap text" from the cell formatting.

really, if you have wrap text turned on, the whole cell will act as a hyperlink. if you have wrap text turned off, only text will act as a hyperlink.

An indent (Home → Alignment → Indent: 1) makes the entire cell a hyperlink.

It's a very odd thing. If I link to a .doc or docx document, only the text is linked. If I link to a .txt document, the whole cell is a link.
I think it's just an odd excel glitch.

Related

Excel: Cannot edit text just deletes the whole thing

I am new to excel and every time I try to edit text in excel by double clicking the cell or press the back space button when I make an error it just deletes the whole thing and I need to retype everything.
I was wondering if there was any way to turn this off.
Thanks in advance!
To the best of my knowledge, there no way to turn this off. When you want to edit text in a cell, you need to first select the cell by single clicking on it. Any contents in the cell will display in the formula bar located above the spreadsheet. Click anywhere you need to in the formula bar to edit text. If you delete or backspace on the cell accidentally, you can CTRL+z to undo.
If you do not see the formula bar, click on View tab in the menu ribbon and make sure the Formula Bar option is checked.

HYPERLINK Formula with Word bookmarks

I'm trying to link some cells to a specific bookmark within a Word document.
Doing this manually...
(Right click > Hyperlink > Address: Word-Document-Adress # Bookmark-Name-1)
...works ok. Clicking this cell opens the word document to the desired bookmark.
But what I want is to automatize this somehow.
I have a given Cell A1 containing Word-Document-Adress # Bookmark-Name-1
So I'm trying to use HYPERLINK formula:
=HYPERLINK(A1; "Go to Bookmark 1")
The hyperlink created contains just the Word_Document_Adress information so does not navigate to the desired bookmark.
Any clue? Thanks
Ok, odd enough I solve this while I'm posting it.
If I select the cell and remove the hyperlink... it lose the blue format but still navigates and this time to the correct section of the Word document.

Hyperlink PDF using VBA

I am looking to make my excel spreadsheet insert a hyperlink to a PDF but only display the last five characters of the name eg: helpme12345 and the cell show 12345 as the clickable link. I can do this long winded but am hoping a VBA macro can do this quicker
How can I write this? Thanks in advance
I don't think you can solve it at all like that. Not even by using VBA. Either the entire cell is a hyperlink, or it's not.
But I'll provide you with a neat trick:
Enter your text in a cell and make it as big as you need. For example "Click here to read more". Edit the cell again (press F2) and underline the word "here". Add some font colour as well if you want
Now draw a rectangular box that covers the word "here" (Insert --> Shapes --> some rectangular box)
Right-click on the rectangle and define your hyperlinke
Finally: Make the box transparent without borders. It'll still be there, but it's invisible... BUT clickable! It looks like you click on the word, but it's the box you click on.

Why do numeric hyperlinks make an entire cell clickable and the text uneditable?

I have notice that if you insert a hyperlink into any cell in Excel and set the text to display to be a number (1, for example), it causes the entire cell to now be clickable in addition to preventing you from changing the hyperlink text afterwards. If you try to change the hyperlink text by going to Edit Hyperlink the Text to Display is always Selection in Document.
If you do the exact same thing but make the Text to Display an alpha character (like a), it works just fine and you can edit the hyperlink Text to Display without issue.
This is causing problems because I am trying to read Excel data using Interop libraries and even those libraries are unable to read the Text to Display when it is set as a whole number with no decimal places.
If you create a Hyperlink like:
You can later edit the "Friendly Name" by selecting the cell and doing the edit in the Formula Bar.

Excel 2007 - Find a word

I have like 3000 works in an excel cell that I need to search one word in. It does not highlight the word, it only places me into the cell with the word.
Anybody has any idea how I can get the word highlighted that I am looking for?
Thank you,
Steve
You have to change the font/highlighting/background of the characters you find using the Characters property in VBA. This can be packaged with the actual search or you can perform the search manually and the highlighting with a macro. See this link for code samples http://www.ozgrid.com/forum/showthread.php?t=66197
Note that since you are actually changing font in Excel you will need to revert it to normal if you don't want the highlight saved with the document.
If you save the whole book as an HTML. Then open it in your preferred browser, you can search in the normal way and it should highlight the desired word.
You can use conditional formatting to highlight the entire cell that contains the search criteria, but I think you want only the specific text to be identified?
I haven't tried this, but here is a discussion on this:
http://www.mrexcel.com/forum/showthread.php?t=397445
If it's just one long cell, or if all the long cells are in a column, you could try using the "Text to Columns" feature (under the Data tab of the Ribbon). If you set it to be delimited by space (assuming your words are separated by spaces), this will make it so that each word occupies its own cell. Then when you use Find, it will highlight the exact cell.
Another option would be to copy the range you want to search and paste into MS Word. From there, you can search, and it will highlight the exact word.
export as a .csv then, then import so that it breaks each column on the space, then you can do what i said above, and then combine the cells. why don't you just copy paste the contents of the cell into notepad and do a seach & replace there?
There is no equivalent to the highlighting feature in Word in Excel.
What I would suggest is doing a Replace where you set the replace with to the word you are searching for, plus set the Format (using the Format... button on the Replace tab) to a yellow color (on the Fill tab of the Replace Format dialog). Once you have that, clicking on "Replace All" will get the effect that you are seeking (that is, all instances of the term "yellow" in the worksheet will now have a yellow fill color in the cell).
I hope this is what you were thinking of.
Mike
alt-e-f (find), type the word, then you can go thru the cells with em

Resources