Copying a column to another column

Scary123

New Member
Joined
Oct 16, 2015
Messages
11
Hi everyone,

I have a workbook where I want to be able to use a command button to select which will move data from 1 column to another in the same worksheet.

The following is what I am looking for: -

1. Copy Data that is in Column C4:C23 [Range Name is Calculations]
2. Paste Data into column A4:A23 while using paste special (Values) [Range name is Copied_Cells]
3. The Sheet name is called (Calculations)

I can do a form control and record the macro but when I change the file name I have to redo the macros.
I want to be able to change the file name and have the button work without re-doing the macro.

My file is a football league and the only thing that I want to do is get this button working if it is possible.

Mark

Football League.xlsx
AC
3PositionsRank
41311
558
61717
71616
869
91514
1047
111818
121112
1333
1411
1585
1622
171415
182020
1996
2074
211919
221010
231213
Calculations
 
If you are using SaveAs, then there should be no need to record the macro again
 
Upvote 0
Solution

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.
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,741
Members
449,050
Latest member
excelknuckles

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