No se que tratas de hacer pero estas seteando objetos varias veces, ademas utilizas un FIXIT: que no se que hara pero dice que el tipo de dato debe ser de "tipo de datos de enlace" por ahi debe estar el error.
Quizas haya un error en el bucle, quita el bucle principal For bucle = 1 To Val(Text4.Text) y solo ejecuta el codigo una vez como si el bucle fuera For bucle = 1 To 1
Por otro lado estas declarando un variable dentro de un bucle ahi podria estar el error.
Quizas haya un error en el bucle, quita el bucle principal For bucle = 1 To Val(Text4.Text) y solo ejecuta el codigo una vez como si el bucle fuera For bucle = 1 To 1
Por otro lado estas declarando un variable dentro de un bucle ahi podria estar el error.
Código [Seleccionar]
Dim bucle As Long
Dim cantidad As String
Dim result
WebBrowser1.Navigate "http://uni3.zagamex.com.ar/game.php?page=buildings&mode=fleet"
For bucle = 1 To Val(Text4.Text)
Set hangar = WebBrowser1.Document
Set var_value = hangar.getelementbyid(Label20.Caption)
var_value.Value = Val(Text3.Text)
Set var_but = hangar.getelementbytagname("INPUT")
'FIXIT: Declare 'result' con un tipo de datos de enlace en tiempo de compilación FixIT90210ae-R1672-R1B8ZE
For Each result In hangar.getelementbytagname("INPUT")
If result.Value = "Construir" Then var_but.Click
Next
Next