Hi
try
ActiveSheet.PageSetup.PrintArea = Range("A1", Cells(rwIndex,
5)).address
--
Regards
Frank Kabel
Frankfurt, Germany
Thanks, Tom, the last one was perfect. Now I need to print that. Have
tried the following:
Range("A1", Cells(rwIndex, 5)).Select
worked great to select teh Range but...
ActiveSheet.PageSetup.PrintArea = Range("A1", Cells(rwIndex, 5))
errors out and
ActiveSheet.PageSetup.PrintArea = RangeSelection doesn't error but
doesn't work either.
Thanks,
Marc
---
Message posted from http://www.ExcelForum.com/