Need help drag and dropping pasted charts into frame with automatic resize and name change

JSWills

New Member
Joined
Jun 5, 2020
Messages
1
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
I am relatively new to excel vba and trying to teach myself as I go. I am working with 2016.

I have a spreadsheet that has a large bordered cell (frame, maybe?). On another program I generate pie charts which I copy and paste to my spreadsheet. The names of the pasted charts are always randomly generated.

I would like to be able to drag the pasted chart over the large bordered cell and upon releasing the mouse button, the chart will automatically snap into the cell, taking on its dimensions, and renaming the chart to something more standardized for easier indexing. Please assist. Thanks in advance.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Forum statistics

Threads
1,223,908
Messages
6,175,307
Members
452,633
Latest member
DougMo

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