rakesh seebaruth
Active Member
- Joined
- Oct 6, 2011
- Messages
- 303
I have the following in a word document
"We are enclosing our office cheque bearing No [chqr] for Rs[chqra]/-(Rupees[chqral] only) drawn in favour of TOM
representing registration cost for the above-mentioned charge instrument and a cheque bearing No [chqr2] for Rs [chgrmat2}(Rupees [amtw] only} drawn in your favour
representing your fees"
[] are bookmarks in the word document.
My Vba codes are follows:-
With objDoc
If.Bookmarks.Exists(TagName).Range
Set BkMkRng =.Bookmarks(TagName).Range
BkMkRng.Text =TagValue
End if
vba will fill all the bookmarks if exists in the above word document.
I would like to use a condition if Range K3= N then delete the following :-
cheque bearing No [chqr2] for Rs [chgrmat2}(Rupees [amtw] only} drawn in your favour
representing your fee
Your help will be highly appreciated
thanks
"We are enclosing our office cheque bearing No [chqr] for Rs[chqra]/-(Rupees[chqral] only) drawn in favour of TOM
representing registration cost for the above-mentioned charge instrument and a cheque bearing No [chqr2] for Rs [chgrmat2}(Rupees [amtw] only} drawn in your favour
representing your fees"
[] are bookmarks in the word document.
My Vba codes are follows:-
With objDoc
If.Bookmarks.Exists(TagName).Range
Set BkMkRng =.Bookmarks(TagName).Range
BkMkRng.Text =TagValue
End if
vba will fill all the bookmarks if exists in the above word document.
I would like to use a condition if Range K3= N then delete the following :-
cheque bearing No [chqr2] for Rs [chgrmat2}(Rupees [amtw] only} drawn in your favour
representing your fee
Your help will be highly appreciated
thanks