Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9  
Old 08-15-2014, 10:26 PM
n00bie-n00b n00bie-n00b is offline Insertbefore an array? help :( Windows 7 32bit Insertbefore an array? help :( Office 2007
Novice
Insertbefore an array? help :(
 
Join Date: Aug 2014
Posts: 17
n00bie-n00b is on a distinguished road
Default

haha, im sorry (please forgive my noobity)

This is essentially what i want....
Code:
Sub Demo() 
     '
     ' demo Macro
     '
    Application.ScreenUpdating = False 
    With ActiveDocument.range 
        With .find 
            .ClearFormatting 
            .Replacement.ClearFormatting 
            .Text = "["i" & ChrW(720), ChrW(618), ChrW(650), u, e, i, ChrW(601), ChrW(601) & ChrW(720), ChrW(604) & ChrW(720), ChrW(596) & ChrW(720), ChrW(596), æ, ChrW(652), ChrW(593) & ChrW(720), ChrW(618) & ChrW(601), "e" & ChrW(618), ChrW(650) & "e", ChrW(596) & ChrW(618), ChrW(601) & ChrW(650), "o" & ChrW(650), "e" & ChrW(601), "a" & ChrW(618), "a" & ChrW(650)]" & ChrW(9700) & "[p, b, t, d, "t" & ChrW(643), "d" & ChrW(658), k, g, f, v, ChrW(952), ð, s, z, ChrW(643), ChrW(658), m, n, ChrW(331), h, l, r, w, j]*>" 
            .Replacement.Text = "" 
            .Forward = True 
            .Wrap = wdFindStop 
            .Format = False 
            .MatchWildcards = True 
            .Execute 
        End With 
        Do While .find.Found 
            .Borders.Enable = True 
            .Collapse wdCollapseEnd 
            .find.Execute 
        Loop 
    End With 
    Application.ScreenUpdating = True 
End Sub
*but it doesnt work

and, i do want "vowel" & ChrW(9700) & "consonant" boxed, but then the box continues to box off the rest of the word, it doesnt just stop at the consonant?!


(sorry and thank you)

Last edited by macropod; 08-15-2014 at 10:41 PM. Reason: Added code tags & formatting (again)
Reply With Quote
 

Tags
complex, connected, insert, macro, n00b



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding information from a array into a table jcorti Word VBA 4 01-10-2014 10:58 PM
Insertbefore an array? help :( Convert String Array to Integer Array from a User Input? tinfanide Excel Programming 4 12-26-2012 08:56 PM
Insertbefore an array? help :( Complex array formula andrei Excel 9 02-03-2012 03:40 AM
How to capture start and ending Ref. Nos. in an array KIM SOLIS Excel 5 09-07-2011 07:43 AM
Look up an array based on user input johnsmb Excel 2 01-07-2011 01:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:23 PM.


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