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 TileHorizontally()
Dim sh As New Shell32.Shell
sh.TileHorizontally
Set sh = Nothing
End Sub
'Contoh penggunaan
Private Sub Command1_Click()
Call TileHorizontally
End Sub