Worksheet.SetBackgroundPicture Method (Excel)
Sets the background graphic for a worksheet.
Syntax
식 .SetBackgroundPicture(Filename)
식 A variable that represents a Worksheet object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Filename |
필수 |
String |
The name of the graphic file. |
Example
This example sets the background graphic for worksheet one.
Worksheets(1).SetBackgroundPicture "c:\graphics\watermark.gif"