Word 2010 - toggle design mode


hello,

i need macro toggle design mode.  found bug placeholder text resolved once open design mode , exit it. i've tried 2 macros accomplish this, but neither work.  both just enter design mode, don't exit it.  advice greatly appreciated.  

sub macro1()
application.screenupdating = false
activedocument.toggleformsdesign
activedocument.toggleformsdesign
application.screenupdating = true
end sub

sub macro1()

dim temps string
application.screenupdating = false
activedocument.toggleformsdesign
application.commandbars("exit design mode")
    temps = .controls(1).caption
end with
application.screenupdating = true
end sub

any ideas on i'm doing wrong

sorry confusing format in post.  2 macro attempts looked more differentiated when typing post / question



Microsoft Office  >  Word IT Pro Discussions



Comments

Popular posts from this blog

Edit Group Policy

Hyper-V VM not reaching OS 'Logon' screen

DNS question...