Creating an Object with the CreateObject Function : CreateObject « Application « VBA / Excel / Access / Word
- VBA / Excel / Access / Word
- Application
- CreateObject
Creating an Object with the CreateObject Function
Sub excel()
Dim myNewSheet As Object
Set myNewSheet = CreateObject("Excel.Sheet")
End Sub
Related examples in the same category