It sounds like you need the parametric equation for a line:
x = x1 + (x2-x1)*t
where
x1
= start x,
x2
= end x, and
t
= time between 0 and 1.
so if you wanted the cursor to move from x1(10,20)
to x2(30,60)
over 10 seconds...
1 second in:
x = 10 + (30-10)*.1 ; x = 12
y = 20 + (60-20)*.1 ; y = 24
2 seconds in:
x = 10 + (30-10)*.2 ; x = 14
y = 20 + (60-20)*.2 ; y = 28
3 seconds in:
x = 10 + (30-10)*.3 ; x = 16
y = 20 + (60-20)*.3 ; y = 32
etc.
Edit:
Ideone of this in action (don't use VB often, so its not perfect)
http://ideone.com/c9iLTA