Simple macro too export range of cols between two w/books .

Sunline

Well-known Member
Joined
Oct 6, 2007
Messages
701
Office Version
  1. 2016
Platform
  1. Windows
Hello all , again have looked thru past posts but not found a simple
macro following .

I want too export from book1 , sheet1 , cols range CG2:DJ2 all data in every row
containing any type of text or numbers including currency etc .

There are 170,000 rows so some speed would be good .

Export too book2 , sheet1 , col range CF2:DI2

Some cells will be blank so leave blank , basically if a photo was taken of book1
data too export it will look and fit into book2 cols CF2:DI2 fillng all 170,000 rows .

I have never done this before any pointers to help will be appreciated . I usually leave out some vital info on my posts but not intentional .

Thanks .
 
ok , sounds good but i have no idea what you just said , whats involved please to
"transfer source data" too get macro to work along these lines .
Thanks , your help is appreciated .
 
Upvote 0

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
I mean that when you copy your range, you don't copy source data on which some formulas in that range are based on. Thus, you need to copy source data too.
 
Upvote 0

Forum statistics

Threads
1,224,620
Messages
6,179,927
Members
452,949
Latest member
beartooth91

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