Microsoft Forms 2.0 Object Library

Or using the built-in New keyword with a reference set to Microsoft Forms 2.0 Object Library .

: It provides the DataObject class, which allows VBA macros to programmatically copy text to or paste text from the Windows Clipboard. microsoft forms 2.0 object library

frm.Show

On Error Resume Next Dim test As Object Set test = CreateObject("Forms.Form.1") If Err.Number <> 0 Then Debug.Print "Forms 2.0 unavailable in this bitness" Or using the built-in New keyword with a