Visual Basic for Applications Reference

Class is not set (Error 31018)

Specifics

If you don't specify a source document (SourceDoc property) when setting Action = 0 (CreateEmbed method), the Class property must be set to the name of a class available on your system.

To display a list of the available class names at design time, right-click the OLE container control and choose the Insert Object command.

Show: