Export (0) Print
Expand All

ReplaceLine Method [Access 2003 VBA Language Reference]

Office 2003

The ReplaceLine method replaces a specified line in a standard module or a class module.

expression.ReplaceLine(Line, String)

expression Required. An expression that returns one of the objects in the Applies To list.

Line  Required Long. A Long value that specifies the number of the line to be replaced.

String  Required String. The text that is to replace the existing line.

Remarks

Lines in a module are numbered beginning with one. To determine the number of lines in a module, use the CountOfLines property.



Applies to | Module Object



Show:
© 2015 Microsoft