Error de Compilación no encuentra el proyecto
Tengo el siguiente código
Private Sub UserForm_Initialize()
Dim lngMyHandle As Long, lngCurrentStyle As Long, lngNewStyle As Long
If Application.Version < 9 Then
lngMyHandle = FindWindow("THUNDERXFRAME", Me.Caption)
Else
lngMyHandle = FindWindow("THUNDERDFRAME", Me.Caption)
End If
lngCurrentStyle = GetWindowLong(lngMyHandle, GWL_STYLE)
lngNewStyle = lngCurrentStyle Or WS_MINIMIZEBOX Or WS_MAXIMIZEBOX
SetWindowLong lngMyHandle, GWL_STYLE, lngNewStyle
TextBox1 = Format(Now, "hh:mm")
TextBox2 = Date
End SubNo tenia ningún problema con el, pero ahora cada vez que me abro mi formulario, me aparece error de compilación y me señala en Format
Como lo puedo corregir
1 Respuesta
Respuesta de Dante Amor
1


Tengo un problema similar solo que esté al eliminar el falta me da error 424 - Samir Rodríguez