P
Porky79
Hi - I have recorded a simple macro to set a print area on a
worksheet.
Range("A1:C52").Select
ActiveSheet.PageSetup.PrintArea = "$A$1:$C$52"
Rows will always remain constant (1:52) but the columns vary (columns
are added from D onwards as data is collected). I want to try and edit
it so that it will set the range automatically. Can I use the OFFSET
function to automatically set this up?
Any help will be much appreciated
thanks
Paul
worksheet.
Range("A1:C52").Select
ActiveSheet.PageSetup.PrintArea = "$A$1:$C$52"
Rows will always remain constant (1:52) but the columns vary (columns
are added from D onwards as data is collected). I want to try and edit
it so that it will set the range automatically. Can I use the OFFSET
function to automatically set this up?
Any help will be much appreciated
thanks
Paul