HELP! Copying and Inserting at Button Location

dpd987

New Member
Joined
Sep 27, 2010
Messages
2
I have been using buttons to insert new rows above them. So the specific inserting action I perform is due to the location of the button.

I need to use a similar method to insert a selection(or copy) from another place in the sheet(that I have hidden). I want to insert that selection of 3 rows and 4 columns above the button that is being pushed. The button is in a different location say...A3.

This is what I use to insert 1 row above the button:

Sub AddRow()

Dim r As Range

Set r = ActiveSheet.Buttons(Application.Caller).TopLeftCell

r.EntireRow.Insert

End Sub


--How do I copy the Range(S12:V14) and place is above the button in A3???

PLEASE HELP!!
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,215,267
Messages
6,123,963
Members
449,137
Latest member
yeti1016

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