0

I did this before but now I am unable to do it again. I want to create a macro and short cut to untabify selected lines. First , I select the lines I want to untabify. Then I choose record temporary macro. Then I select Edit - Advanced - Untabify Selected Lines. Then I click stop recording. In the Macro Explorer I have "TemporaryMacro" but if I undo my last action and run the macro, it doesn't do the untabify.

Here is the macro code:

Sub TemporaryMacro()
    DTE.ActiveDocument.Selection.Untabify()
End Sub
BRBT
  • 1,467
  • 8
  • 28
  • 48
user2568374
  • 1,164
  • 4
  • 11
  • 21

1 Answers1

0

This problem was caused by windows update KB2898869. Uninstalling it allows macros to work again in Visual Studio.

user2568374
  • 1,164
  • 4
  • 11
  • 21