N
Nick Hill
Folks, I have created a snippet to insert a datestamp into the body of
task. This bit works fine, my question is this - how do I then place the
cursor at the end of the inserted text, is this possible?
Code as follows:
Sub Insert_Datestamp()
Dim objitem As Object
Set objitem = Application.ActiveExplorer.Selection.Item(1)
With objitem
.Body = Str$(Date) + vbTab + "-" + vbTab + vbNewLine + .Body
**NEED CODE HERE TO MOVE CURSOR TO END OF LINE**
End With
End Sub
task. This bit works fine, my question is this - how do I then place the
cursor at the end of the inserted text, is this possible?
Code as follows:
Sub Insert_Datestamp()
Dim objitem As Object
Set objitem = Application.ActiveExplorer.Selection.Item(1)
With objitem
.Body = Str$(Date) + vbTab + "-" + vbTab + vbNewLine + .Body
**NEED CODE HERE TO MOVE CURSOR TO END OF LINE**
End With
End Sub