Thread
: [Solved]
VBA Code for clean all data from ms word document
View Single Post
05-15-2014, 04:49 PM
macropod
Windows 7 32bit
Office 2010 32bit
Administrator
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,341
Why are you bothering with this? Surely you could just create a new, empty document?! Still, if that's what you want, try:
Code:
Sub CleanData() ActiveDocument.Content.Delete End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
macropod
View Public Profile
Find all posts by macropod