S
StargateFanFromWork
I recorded keystrokes and I got this as a result. Is there a way to do the
same as below but with the 2 changes listed at the bottom?
**************************************************************************
Sub DeleteText()
' Deletes all the text on the page.
Selection.HomeKey Unit:=wdStory
Selection.EndKey Unit:=wdStory, Extend:=wdExtend
Selection.Delete Unit:=wdCharacter, Count:=1
End Sub
**************************************************************************
1) Prompt the user is s/he want to delete the text, and cancel returns user
to doct.?
2) Deletes the text without using "Selection".
Thanks! D
same as below but with the 2 changes listed at the bottom?
**************************************************************************
Sub DeleteText()
' Deletes all the text on the page.
Selection.HomeKey Unit:=wdStory
Selection.EndKey Unit:=wdStory, Extend:=wdExtend
Selection.Delete Unit:=wdCharacter, Count:=1
End Sub
**************************************************************************
1) Prompt the user is s/he want to delete the text, and cancel returns user
to doct.?
2) Deletes the text without using "Selection".
Thanks! D