편집

다음을 통해 공유


Module.ReplaceLine method (Access)

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

Syntax

expression.ReplaceLine (Line, String)

expression A variable that represents a Module object.

Parameters

Name Required/Optional Data type Description
Line Required Long The number of the line to be replaced.
String Required String The text that is to replace the existing line.

Return value

Nothing

Remarks

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.