Jika Anda ingin menggunakan metode Late Binding maka gantilah kode berikut:
Dim Sh as new Shell32.Shell
Menjadi:
Dim Sh as Object
Set Sh = CreateObject("Shell.Application")
Option Explicit
Sub TileVertically()
Dim sh As New Shell32.Shell
sh.TileVertically
Set sh = Nothing
End Sub
'Contoh penggunaan
Private Sub Command1_Click()
Call TileVertically
End Sub