Setting clickable anchor links within Excel - excel

This might be a VBA thing, but I honestly don't know.
I have a summary tab that pulls aggregated data from other tabs in the workbook. I'd like the end-user to be able to click on different areas (not necessarily just cells with formulas in them) and Excel jumps to a set location within the workbook, but on a different worksheet. For example, clicking on a client's name on the summary tab might activate the "Billing" tab and jump to where that client's billing begins.
Basically, this is the Excel version of an HTML anchor to jump to another section. I know turning off the "Edit directly in cell" option does this to a certain degree, but this is for the application as a whole, not a setting on an individual workbook. I'd like to have tighter control over the functionality, as opposed to making users mess with their settings.
Is this even possible?

Here's one option - Work with Hyperlinks in Excel:
Create a hyperlink to a specific location in a workbook
To link to a location in the current workbook or another workbook, you can either define a name for the destination cells or use a cell reference.
To use a name, you must name the destination cells in the destination workbook.
On a worksheet of the source workbook, click the cell where you want to create a hyperlink.
You can also select an object, such as a picture or an element in a chart, that you want to use to represent the hyperlink.
You can also right-click the cell or object and then click Hyperlink on the shortcut menu, or you can press Ctrl+K.
Under Link to, do one of the following:
To link to a location in your current workbook, click Place in This Document.
To link to a location in another workbook, click Existing File or Web Page, locate and select the workbook that you want to link to, and then click Bookmark.
Do one of the following:
In the Or select a place in this document box, under Cell Reference, click the worksheet that you want to link to, type the cell
reference in the Type in the cell reference box, and then click OK.
In the list under Defined Names, click the name that represents the cells that you want to link to, and then click OK.
In the Text to display box, type the text that you want to use to represent the hyperlink.
To display helpful information when you rest the pointer on the
hyperlink, click ScreenTip, type the text that you want in the
ScreenTip text box, and then click OK.

Related

Hyperlinks do not auto updates from namedranges Excel 2013

Why hyperlink do not update it values on Language change from named ranges?
How to fix that whithout vba?
xlsx File attached
Try to change Language in B1 and look at links on mouse over, changing only "more" named range.
Now try to copy/paste formulas in others cells and change language again, everething works now, until file is open.
Hyperlinks which are statically applied with Insert - Hyperlink are taking effect over the hyperlink target which results of the function HYPERLINK. So if there is a cell with such a static hyperlink applied and you write a =HYPERLINK(...) into that cell, then the static hyperlink target will take effect and not the hyperlink target of the =HYPERLINK(...).
To repair this, right click on the cell. If the options Open Hyperlink and Edit Hyperlink are in the context menu, then there is a static hyperlink applied. Select Remove Hyperlink . Now the hyperlink target from the HYPERLINK function takes effect.

How can I use a data connection from another book?

Under Data -> Conections I have added a link to another excel worksheet. I'm trying to use some value from this new linked worksheet but I dont know how.
I'm researching this, because using [file] or indirect() is not enough.
How could I reference a cell from a defined data connection from another worksheet in a linked excel file?
I fear that even a highly simplified answer to your question may require pages and pages of detail (for example, not counting the Connections icon set in the Ribbon, for Get External Data I have five icons in the standard Ribbon to choose from and one of these offers me seven choices) so merely an example:
In a new workbook, enter 666666 in Sheet2 B2, select B1:B2 and INSERT > Tables, Table, check My table has headers and OK. Save this workbook as WB1.xlsx, somewhere you can relocate it, and close it.
Open a new workbook and select A2 in Sheet1. DATA > Get External Data, Existing Connections. Browse for Moreā€¦, find and select WB1.xlsx. Open. A Select Table window should then pop up and from it Select Sheet2$. OK. OK. In A3 of this new workbook you should now see 666666.

Is it possible to add a logo or other picture in an Excel sheet and lock its position on the sheet?

I am looking for a way to add a logo or other picture in an Excel sheet and lock its position on the sheet, so that the user won't get annoyed if he happen to grab it while using.
I tried locking cells, sheet, but nothing seems to work.
I am using Excel 2007.
Not really a programming question but the way to do this is...
Right click the image and choose Size and Properties.
Click Properties tab and under properties,(optional- choose Don't move or size with cells) and ensure the Locked box is checked.
Highlight the cells of the worksheet you want the users to be able to edit, right click inside one of them and choose Format Cells. In the protection tab uncheck the locked checkbox.
Then you can protect the worksheet. Click Home, then Format, then Protect Sheet.
Make sure you unselect Select locked cells, leave the top checkbox selected (Protect worksheet and contents of locked cells) as well as select unlocked cells checked.

Excel - Popup Asking for Text w/ Drop Down

Is it possible to have a macro that, when pressed, pops up a message box asking for a string of text, and then a drop down that has a list of categories?
All I would need it to do is take this information and save it into a cell. If so, how?
[I'm going based on Excel 2007 here, but if you're using 2003, you'll have to navigate the menu structure]
Go to the VBE (by going to the View tab, then click on Macro - creating or editing an existing one will take you there - or click Alt+F11).
Go to the Insert menu, and select Userform. Drag a textbox (the ab|icon), and a combobox onto your form. To set the textbox value to a cell when you change the combobox, create a subroutine in the code to do this by double clicking on the combobox.
Set the combobox items by using the .additem method of comboBox1 in your code. These can be delineated or grabbed from a range in your code (see here)
Within that subroutine, set the value of whatever cell you want to textbox1.Text, which is the contents of the textbox.

hyperlink to a sheet in excel

is it possible to create a hyperlink in an excel document , clicking on which opens a particular sheet in the excel document . please let me know ?
If you want to add that hyperlink in the same workbook then
a. Right click on cell in which you want to display hyperlink and click "Hyperlink"
b. It presents you a dialog. From left pane titled "Link to", press "Place in this document"
c. Your worksheet names will appear in the list box titled "Select a place in this document"
d. Select the desired sheet and write the text you want to display and click "OK".
If it's a hyperlink on your website, and you can choose what worksheet you want to use, simply open that particular sheet, save, then close Excel. It will open the workbook on whichever sheet it was closed on.

Resources