|
-
Jun 13th, 2006, 03:11 AM
#1
Thread Starter
New Member
[RESOLVED] Word Macro - replace hard returns
Hi,
I'm new to VB but am writing a macro which is adding xml tags around Word content.
I need to change a hard return with the text <lineBreak/>, but get an error each time.
I have tried to search for "^|", and have also tried to search for Chr(10), but nothing seems to work. Am I using the wrong code to detect the shift-enter key combination?
If I change the search to "^p" or Chr(13) it works fine.
Many thanks
pramenjatjek
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|