Edit

Share via


PageSetup.PrintArea Property

Definition

Returns or sets the range to be printed, as a string using A1-style references in the language of the macro.

public:
 property System::String ^ PrintArea { System::String ^ get(); void set(System::String ^ value); };
public string PrintArea { get; set; }
Public Property PrintArea As String

Property Value

Remarks

Set this property to False or to the empty string ("") to set the print area to the entire sheet.

This property applies only to worksheet pages.

Applies to