![]() |
|
#1
|
||||
|
||||
![]()
Quite obviously, I've changed the paragraph reference from 17 to 18.
Quote:
Quote:
Code:
StrTxt = vbCr & "Time " & txtTime.Text & vbCr & vbCr & _ "Customer Name : " & cmbMyCustName.Text & vbCr & vbCr & _ "Account No. " & txtRefAcNo.Text & " Chq No. " & txtChqNo.Text & vbCr & vbCr Code:
StrTxt = vbCr & "Time : " & txtTime.Text & vbCr & vbCr & _ "Customer Name : " & cmbMyCustName.Text & vbCr & vbCr & _ "Account No. : " & txtRefAcNo.Text & " Chq No. : " & txtChqNo.Text & vbCr & vbCr Code:
With wdRng .Start = .Start + InStr(.Text, ":") + 1 .End = .End - 1 .Font.Bold = True End With
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
|||
|
|||
![]()
Thank you sir, for your coding. Lastly i would like to ask you how could i add a Footer note after the above range. FYI this should display in Left of footer note.
And a small image if i could insert at Right at Footer note. i tried using active document but could not set its refernce Quote:
SamD |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
jbengal | Word | 5 | 11-23-2022 02:17 PM |
![]() |
OkiDoki | Word | 4 | 09-30-2016 11:41 AM |
![]() |
sheaters | Word | 2 | 05-04-2016 01:57 PM |
How to create a special TOC in word document? | gn4619 | Word VBA | 5 | 04-29-2015 04:25 PM |
How to identify whether Word 2007 was used to create a document saved as Word 2003 | noviceatwork | Word | 0 | 03-08-2012 06:40 AM |