Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 07-23-2014, 12:14 PM
gmaxey gmaxey is offline Macro to count and export results Windows 7 32bit Macro to count and export results Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

Sub ScratchMacro()
Dim arrContent() As String
Dim strTrigger As String
strTrigger = "zzz"
arrContent() = Split(ActiveDocument.Range.Text, "zzz")
Set oDoc = Documents.Add
oDoc.Range.Text = Ubound(arrContent)
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 

Tags
export, macro, txt

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ammunition count macro Owastell Excel Programming 3 07-03-2014 11:00 AM
2013 search results take a long time - they fill in as results in reverse date order themookman Outlook 0 10-11-2013 12:01 PM
Macro to count and export results A recurring word count macro? bpanda Word VBA 1 06-11-2013 07:17 AM
Macro to count and export results Word Count Macro bpanda Word VBA 1 01-11-2013 06:51 PM
*Word 2007 Macro for Character Count gbartlet Word 0 07-21-2010 11:12 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:07 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