Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Making print range dynamic in macro

How do you create a dynamic print range to accept new data as new dat are
being added in new rows?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Making print range dynamic in macro


If and when possible print the entire sheet
or a specified nr of columns (e.g. A:F)

(excel will skip anything beyond the usedrange)

else define a "dynamic range".. e.g.
MyDB = =Offset($D$10,0,0,counta($D$10:$D$65536),counta($1 0:$10))

then via define names set the Print_Area (localized) to point to MyDB



--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Newbie dumbo wrote :

How do you create a dynamic print range to accept new data as new dat
are being added in new rows?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print Dynamic Range Bruister via OfficeKB.com Excel Discussion (Misc queries) 1 January 31st 10 02:35 PM
Macro print range not dynamic like I wanted it to be TRYING Excel Worksheet Functions 8 November 27th 07 01:05 AM
Macro to print a dynamic range Russ Excel Programming 3 January 13th 05 05:31 PM
making autofill range dynamic sonang Excel Programming 0 September 1st 04 10:59 PM
Excel 2000 VBA - Set Print Range in dynamic range sub_pop[_5_] Excel Programming 2 July 27th 04 08:01 PM


All times are GMT +1. The time now is 12:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"