DROP DOWN OR VBA CODE ??

Jagat Pavasia

Active Member
Joined
Mar 9, 2015
Messages
359
Office Version
  1. 2021
Platform
  1. Windows
dear sir,
I have data entry sheet.
I have "E" raw has category name from E5:E2500 and sub-category "F" raw has from F5:F2500.
both category and sub-category has different - different name.
and category name is not fixed.

I want that if I double click in E5:E2500 than pop up of category name then I select from them.
category name in list do not repeat shown.

I have sample image uploaded
123.JPG



Please help with VBA code in E5: E2500 and F6:F2500
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
are you asking for a summarization for each unique value in column E? If not please show an example of what you desire?
 
Upvote 0
are you asking for a summarization for each unique value in column E? If not please show an example of what you desire?
in my given example sheet, I want that , " if I double click in E29 then, automatic popup shown with option "KR", "STAFF", "COST".
then I select on of them and auto type in E29
 
Last edited:
Upvote 0
Why do you need VBA code? You can use Data Validation Tools.


If you select Data from Ribbon
1699346450851.png


Then
Data Validation from Data Tools:
1699346528893.png

Select List from "Allow":
1699346620525.png



Type: KR, STAFF,COST
in SOURCE


1699346724815.png



Click OK:

You get this:
1699346976128.png
 
Upvote 0

Forum statistics

Threads
1,215,110
Messages
6,123,147
Members
449,098
Latest member
Doanvanhieu

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