Export (0) Print
Expand All

Module.ReplaceLine Method (Access)

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

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

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

Show:
© 2014 Microsoft