Premesso che reputo queste cose giochetti inutili...
Option Compare Database
Option Explicit
Private lngW As Long
Private lngH As Long
Private lngR As Long
Private lngT As Long
Private Const cSTEP As Long = 500
Private Const cSPEED As Integer = 100
Private Sub Form_Load()
Me.TimerInterval = cSPEED
lngW = 1000
lngH = 1000
lngT = 500
lngR = 500
DoCmd.MoveSize lngR, lngT, lngW, lngH
End Sub
Private Sub Form_Timer()
If lngW < 5000 Then
lngW = lngW + cSTEP
lngH = lngH + cSTEP
DoCmd.MoveSize lngR, lngT, lngW, lngH
Else
Me.TimerInterval = 0
End If
End Sub
Se la Form non è quadrata chiaramente devi tener conto del rapporto tra i lati e ricalcolare la costante di INCREMENTO su ALTEZZA e LARGHEZZA...