If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Data Validation and Cut and Paste Problems

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-04-04, 12:48
pmartino pmartino is offline
Registered User
 
Join Date: Nov 2004
Posts: 1
Data Validation and Cut and Paste Problems

Hey,

I'm setting up a spreadsheet for data entry, with some columns set to drop-down lists, etc. This works great if every record is manually typed in, but if one is cut and pasted of course the validation goes out the window as the cells are replaced. Is there a way around this? I don't want to disable cut and paste but maybe I could make a macro to emulate this process without ruining the data validation?

Thanks
Paul
Reply With Quote
  #2 (permalink)  
Old 11-04-04, 16:39
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Welcome to the board.

It depends on what you want to have happen. If you PasteSpecial, then the value will be in the cell, but the dropdown still exists. However, the dropdown will not incorporate that new value.

If you want it incorporated, then it is a much more complicated process. You will need to use a ComboBox (Control Toolbar), and you would need to update by including the new value in the drop down using VBA.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On