Hi All:
I created a macro to print a certain area.
This area is named.
This area will get adjusted in length from time to time.
My problem is, when I created the macro I used the "name".
When I go back into the macro to edit mode, the area is shown as
absolute cell references.
There for, if I adjust the length of the work sheet, it will print the
same area every time.
Am I using the wrong syntax?
Thanks for your help
Tom Snyder
Paul B - 06 Oct 2003 16:12 GMT
Tom, see if this will work for you
Sub print_name_range()
'Prints the name range test
ActiveSheet.PageSetup.PrintArea = "test"
ActiveWindow.SelectedSheets.PrintOut
ActiveSheet.PageSetup.PrintArea = ""
End Sub

Signature
Paul B
Always backup your data before trying something new
Using Excel 97 & 2000
Please post any response to the newsgroups so others can benefit from it
** remove news from my email address to reply by email **
> Hi All:
>
[quoted text clipped - 12 lines]
>
> Tom Snyder