Copying a Pre-Defined Print Area

Helpme21

New Member
Joined
Jan 26, 2011
Messages
19
Hello-

I am using Office 2010.

I currently have an excel document with 40+ tabs. Each tab has already been defined with a print area. I am trying to copy the contents of the print area into a Word document to make it look more professional. I already have a excel Macro to run through each tab and copy a large data set and paste it into the word document. I need help to copy ONLY the data within the print area that is already defined in each tab. The code I currently have is shown below.

For i = 0 To j
Worksheets(names(i)).Select
Range("A1:G116").Select '<-- Need To Replace This Line So It Only Selects The Data In The Print Area of That Tab'
Selection.Copy
appWD.Selection.Paste
appWD.Selection.InsertBreak Type:=wdPageBreak
Next i

Is this even possible? I have been searching a lot for this. As help would be appreciated.

Thanks in advance!
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Untested but try

Code:
ActiveSheet.Range(ActiveSheet.PageSetup.PrintArea).Select
 
Upvote 0

Forum statistics

Threads
1,215,093
Messages
6,123,066
Members
449,090
Latest member
fragment

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