Print Range

G

Guest

I am trying to print the following range called PrintData. The macro stops
at the command Range("PrintData").Select. I have this range defined in the
workbook.

Any advise???

Thanks
Frank

Sub PrintData()
Workbooks.Open Filename:= _
"C:\Documents and Settings\t_frankb\My Documents\Excel\Weekly Stability
Metrics\Weekly Stability Metrics Reports\06182007
\Charts\Weekly_Stability_Metrics_6500_6.6_6_18_07.xls"
Sheets("Weekly Arrival Data").Select
Range("PrintData").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
ActiveWindow.Close
'Call Print68005xChart
End Sub
 
N

N10

Beep Beep said:
I am trying to print the following range called PrintData. The macro stops
at the command Range("PrintData").Select. I have this range defined in the
workbook.

Any advise???

Thanks
Frank

Sub PrintData()
Workbooks.Open Filename:= _
"C:\Documents and Settings\t_frankb\My Documents\Excel\Weekly Stability
Metrics\Weekly Stability Metrics Reports\06182007
\Charts\Weekly_Stability_Metrics_6500_6.6_6_18_07.xls"
Sheets("Weekly Arrival Data").Select
Range("PrintData").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
ActiveWindow.Close
'Call Print68005xChart
End Sub

Hi

Try

PrintData.select

instead of

Range("PrintData").Select

Works for me

Best N10
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top