Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 05-15-2014, 04:49 PM
macropod's Avatar
macropod macropod is offline VBA Code for clean all data from ms word document Windows 7 32bit VBA Code for clean all data from ms word document Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Code for clean all data from ms word document VBA Code to take data from a table in word document and place it in a summary table VBLearner Word VBA 1 03-09-2014 08:42 PM
importing Access data to a Word document WayneCusack Word VBA 2 12-24-2012 12:26 AM
VBA Code for clean all data from ms word document Help Plz! Link Excel data to Word document cory_0101 Office 1 09-27-2012 07:15 PM
VBA Code for clean all data from ms word document How do you view the source code in a Word 10 web document? provlima Word 2 05-25-2012 01:12 PM
VBA Code for clean all data from ms word document Error Code 5453 Word has finished searching the document Charles Kenyon Word VBA 2 05-17-2012 11:18 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:32 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft