link cell value into text box by clicking

slapman

New Member
Joined
Mar 4, 2020
Messages
9
Office Version
  1. 2013
hello all.

Im trying to find a way to link cell value into a text box search i have created.

i created a price list containing Part numbers, description , gross price etc for 11K parts, all in one sheet , and in the top of the sheet i created a auto-complete search engine.

now, i have 5-6 more sheets with top selling parts per mode which i want to connect to to that search text box upon clicking a value out of those top selling sheets.

so say that i have a sheet pert model with 50 more parts that i want to connect into the search box.

any suggestions ?
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
You could create an event macro. This will run a code when you double click on a cell.

*Needs to be added to the worksheet, not in a module

VBA Code:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
    If Not Application.Intersect(Target, Range("C40")) Is Nothing Then      'Change C40 to the range they can select from eg.A1:B30
'your code here
    End If
End Sub
 
Upvote 0
i didnt quiet understand what you are suggesting.
in any case i thought about hyper links with vlookup attached to each top selling part number - problem : more then 100 parts...
 
Upvote 0
I was referring to " i want to connect to to that search text box upon clicking a value out of those top selling sheets. ". I didn't consider you'd use a hyperlink.


If you're considering lookups and hyperlinks maybe this isn't required though.

Do you have some example data and your desired result?
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

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