Create Button in selected cell

jrisebo

Active Member
Joined
Mar 15, 2011
Messages
325
Office Version
  1. 365
Platform
  1. Windows
I want someway to select a cell, and then create a button in said cell. I want it to be the same size as the selected cell.
 
Well, I have seven different tabs that have data. Depending what you choose on a input tab, one of the seven tabs is what does the calculations.
So if on the input tab you pic 'anch4', tab 4 does the calculation. I want to be then able to have a button that based on the input of 'anch4', it takes you to the 4th tab.
 
Upvote 0

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
What cell would be tested for 'anch1' 'anch2' etc? And will the actual entries be 'anch1' 'anch2' etc? What are the 7 corresponding tab names?
 
Upvote 0
Ok, Cell H42 on 'INPUT' tab has a drop down that is A thru F. The calc sheets are 'A Headed studs', 'B Headed Studs','C Headed studs', 'D Headed Studs','E Headed studs', 'F Headed Studs'

So depending on what you pick in Cell H42 on Input, I want the button you click to hyperlink to the correct tab. Thus the If statement, and hyperlink.

It doenst have to goto a specific cell on each tab, just jump to the tab.
 
Upvote 0
Try this:
Code:
=HYPERLINK("#'" & H42 & " Headed Studs'!A1","Goto calcs")
 
Upvote 0
that works if I just paste in a cell, and click. How do I get it to be associated with a button now?
 
Upvote 0
Why do you need a button if you have a hyperlink that does exactly the same?
 
Upvote 0
Ok, Got some more. Same thing, just that the tabs for B,C,D are one in the same.

Cell H42 on 'INPUT' tab has a drop down that is A thru F. The calc sheets are 'A Headed studs', 'B,C,D Headed Studs','E Headed studs', 'F Headed Studs'

Thanks
 
Upvote 0
That would be:
Code:
=HYPERLINK("#'" & INDEX({"A","B,C,D","B,C,D","B,C,D","E","F"},MATCH(H42,{"A","B","C","D","E","F"},0)) & " Headed Studs'!A1","Goto calcs")
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,833
Members
452,947
Latest member
Gerry_F

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top