Data Validation Drop Down List

wiwchar

Board Regular
Joined
Sep 11, 2003
Messages
167
I have a workbook with a data entry tab where I have needed to restricted the entry into one of the columns to be consistent. I used a Drop Down list to accomplish this.

Next, I have information from this tab copied to other tabs based on certain criteria. This is accomplished with VB. Here is where my dilemma is. When the information is copied over to other sheets, each row has a drop down window. How do I solve this to just take the value from the data input sheet and paste without the drop down window?

Thanks in advance.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
You could do one of the following:

Instead of normal copy & paste use copy & paste special:
Code:
' Cell "A1" has a validation
Range("A1").Copy
Workbooks.Add
ActiveCell.PasteSpecial xlPasteValues

Or remove the validation after the cell has been pasted into the new workbook:
Code:
Range("A1").Validation.Delete
Or do not copy but go stright for setting the values via VBA:
Code:
dim wb1 as workbook, wb2 as workbook
set wb1 = activeworkbook
set wb2 = workbooks.add
wb2.sheets(1).range("A1").value = wb1.sheets(1).range("A1").value
 
Upvote 0

Forum statistics

Threads
1,216,008
Messages
6,128,249
Members
449,435
Latest member
Jahmia0616

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