Using VBA to force drag cell in cut manner

Vrilx

New Member
Joined
Jul 25, 2019
Messages
7
Hey guys,

I need some help with a sheet i am trying to create.

The idea is to have a list of cells B3,B4.B5.B6 for example and the user is able to drag B5 to the top of the list and the sheet automatically move B3 to B4, B4 to B5 etc. Just like the way you would if you selected B5 and held the shift key while showing the move pointer and dragged the cell up.

Is there a code or option i can use to ensure this is defaulted to manipulate excel to think that the user has held the shift key down?

In addition: is there then a way to force the move pointer onto the cell without having to find the bottom boarder?
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,215,065
Messages
6,122,944
Members
449,095
Latest member
nmaske

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