PC Review


Reply
Thread Tools Rate Thread

Copy Paste Macro Using Drop Down Boxes

 
 
=?Utf-8?B?U3RldmVD?=
Guest
Posts: n/a
 
      10th Oct 2006
Here is my Data set.

ColA ColB
Scenario 1 Dogs
Scenario 2 Cats
Scenario 3 Pigs
Scenario 4 Sheep
Scenario 5 Goats


I want to use dropdown boxes to copy data in one scenario and paste in
another.

For example, if I want to copy and paste the values of Scenario 4 into
Scenario 2, I would like to be able to choose "Scencario 4" in DropDownBox1
and choose "Scenario 2" in DropDownBox2, then press a third button so that
the macro copies the values in Scenario 2 and pastes over as value in
Scenario 4.

This is tough for me because I many more scenarios and I do not know how to
apply relative references.

Copy Which Scenario Paste Over as Value to Which Scenario
DropDownBox1 DropDownBox2
Scenario 4 Scenario 2

After I run my macro, my data set should look like this:

ColA ColB
Scenario 1 Dogs
Scenario 2 Sheep
Scenario 3 Pigs
Scenario 4 Sheep
Scenario 5 Goats

As you can see, I have copied the data from Scenario 4 and pasted it in
Scenario 2.

Any suggestions? thanks very much for taking a look.

Steve


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MACRO: Selecting "Cancel" from a drop down to copy and paste entirerow to another sheet Nicole Hannington Microsoft Excel Misc 1 20th Jul 2009 07:11 PM
MACRO: Selecting "Cancel" from a drop down to copy and paste entirerow to another sheet Nicole Hannington Microsoft Excel Worksheet Functions 1 20th Jul 2009 06:51 PM
Macro to run through each value in drop down box and copy paste re Suzann Microsoft Excel Programming 0 23rd Apr 2009 05:26 PM
copy/paste drop down boxes (forms) without locking cell link? =?Utf-8?B?cnllcnll?= Microsoft Excel Misc 1 13th Jul 2007 04:49 AM
Copy Paste Macro Using Drop Down Boxes =?Utf-8?B?U3RldmVD?= Microsoft Excel Programming 0 10th Oct 2006 07:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:40 AM.