![]() |
#9
|
|||
|
|||
![]()
This is the code I have. I have a Update and a Change event. Should I remove the change event?
and what does vbCr, ", " mean? Code:
Private Sub txtEnclosureAttached_Update() Dim Rng As Range Set Rng = ActiveDocument.Bookmarks(bmkEnclosureAttached).Range Rng.Text = Replace(txtEnclosureAttached.Text, vbCr, ", ") Application.ScreenRefresh ActiveDocument.Bookmarks.Add "bmkEnclosureAttached", Rng End Sub Private Sub txtEnclosureAttached_Change() Dim Rng As Range Set Rng = ActiveDocument.Bookmarks("bmkEnclosureAttached").Range Rng.Text = Replace(txtEnclosureAttached.Text, vbCr, ", ") Application.ScreenRefresh ActiveDocument.Bookmarks.Add "bmkEnclosureAttached", Rng End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bug in PPT 2007 - Font and line spacing in text boxes | Amateur | PowerPoint | 0 | 09-01-2010 03:34 AM |
How do I import text columns with specified spacing between words w/o losing format? | Fucius | Word | 0 | 08-09-2010 06:23 PM |
![]() |
marshalx | Word | 2 | 10-28-2009 02:37 AM |
Print spacing in Word document | veekay99 | Word | 16 | 04-21-2009 01:18 AM |
How to link text from one document to another | nospamforyou | Word | 0 | 10-09-2008 09:14 AM |