Advertisement

04.24.2008 at 02:06AM PDT, ID: 23349587
[x]
Attachment Details

Drag & Drop Function

Asked by FrankSasso in Visual Basic Programming, Microsoft Excel Spreadsheet Software

Hi there,
I have 2 excel worksheets open in the "tile vertical" view (therefore I can see them both side by side), from 2 different workbooks and I want to drag & drop by selecting either a single or multiple row off 1 worksheet and drop into the worksheet of second workbook.
I don't want to copy and paste, I want programming code that will enable me to drag and drop from one worksheet to another. The catch is that no matter where I drop the selected data from the 1st worksheet into the next, the data must always retain its numerical order positioning.
For example if item 1 of worksheet 1 has a code of 005.010 - 0010, and worksheet 2 has an item code with 003.005 - 0001, then the positioning of the worksheet item 1 once its dropped into worksheet 2 must be located after 003.005 - 0001, because  005.010 - 0010 numeric order is greater than 003.005.Start Free Trial
[+][-]04.24.2008 at 07:59PM PDT, ID: 21436796

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Basic Programming, Microsoft Excel Spreadsheet Software
Sign Up Now!
Solution Provided By: avatar-e
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628