Hi,
I am recording a simple macro to delete the word 'one' from the list of
'one two three four'. You may recognize this as the example from "Running a
Macro'. The macro is recorded, I can see it in the editor. But when I run
this macro, the cursor turns to hourglass, but the word is not deleted. As
a matter of fact, any macro I attempt to run appears to run (hourglass
cursor), but nothing happens. This is the code from the delete macro:
Sub TemporaryMacro()
DTE.ActiveDocument.Selection.WordRight(True)
DTE.ActiveDocument.Selection.Delete()
End Sub
thanks, Steven
Steven - 31 Aug 2004 23:00 GMT
I figured it out with FileMon.exe, needed Office.dll.
> Hi,
> I am recording a simple macro to delete the word 'one' from the list of
[quoted text clipped - 13 lines]
>
> thanks, Steven