Copying Data

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,561
Office Version
  1. 2021
Platform
  1. Windows
I need a macro to copy data from column BA (Named Data1-This column can change when new columns are inserted) and the second & third column to the right of column BA ie BC & BD. This must be copied to the range FinData (columns BH:BJ)

Your assistance in this regard will be most appreciated

Howard
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Assuming your data is in the range BA2:BC50, and you want to copy that data to the range BH2:BJ50, then, in BH2, enter =BA2. and copy to the range BH2:BJ50. Now, when you enter new columns anywhere, the formulas should automatically update to reflect the new range that is to be copied.
 
Upvote 0
Hi Ralph

Thanks for the reply. I managed to write code to do this for me. The imported data changes all the time as new accounts are added, so I thought it would be wise to write a code to automate the process. It was easier than I thought it would be

Regards

Howard
 
Upvote 0
Congratulations, Howard, on your code-writing skills! Me, I'm fairly stomped by VBA, so, I stay away from it.
 
Upvote 0
Hi Ralph

Still a VBA Novice, but learning all the time.

Regards

Howard
 
Upvote 0

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

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