Microsoft KB Archive/71072

{| = &quot;Ref_2&quot; Argument Is Not Optional with CREATE.OBJECT Command =
 * width="100%"|

Last reviewed: November 2, 1994

Article ID: Q71072

SUMMARY
Page 40 of the &quot;Microsoft Excel Function Reference&quot; incorrectly indicates that the fifth argument (&quot;ref_2&quot;) to the CREATE.OBJECT command is optional if you are creating a picture. However, you will encounter a macro error if you omit this argument.

MORE INFORMATION
The CREATE.OBJECT command is used in a macro to draw a graphic object on a sheet. The arguments used indicate the type and location of the object. Type 8 is used to create a picture (normally created by the camera tool). The &quot;Microsoft Excel Function Reference&quot; incorrectly states that the fifth argument (&quot;Ref_2&quot;) is optional when creating a picture object.

&quot;Ref_2&quot; indicates in which cell the lower right corner of the object will be. If this argument is omitted, you will receive a macro error when the macro is run. Including this argument will eliminate the macro error, yet has no effect on the placement of the picture created.