ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Any way to copy contents of print area with macro? (https://www.excelbanter.com/excel-programming/365213-any-way-copy-contents-print-area-macro.html)

uwajes

Any way to copy contents of print area with macro?
 

I have a file that I need to copy the cells in the current print area so
I can paste them to another sheet. Is there a way to do this in vba?


--
uwajes
------------------------------------------------------------------------
uwajes's Profile: http://www.excelforum.com/member.php...o&userid=13424
View this thread: http://www.excelforum.com/showthread...hreadid=555009


Gary''s Student

Any way to copy contents of print area with macro?
 
In the worksheet, create a Defined Name that represents the print area.

Then in VBA, you can use that name for copy/paste.
--
Gary's Student


"uwajes" wrote:


I have a file that I need to copy the cells in the current print area so
I can paste them to another sheet. Is there a way to do this in vba?


--
uwajes
------------------------------------------------------------------------
uwajes's Profile: http://www.excelforum.com/member.php...o&userid=13424
View this thread: http://www.excelforum.com/showthread...hreadid=555009




All times are GMT +1. The time now is 12:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com