![]() |
#1
|
|||
|
|||
![]()
Hello, I need a macro program application to perform required function in a Word file. Here's an concrete example which shows how that macro program performs required function. Thank you.
|
#2
|
||||
|
||||
![]()
Hi Hikmetotheron,
It's not at all clear from your attachment what the macro is supposed to do. If it's to do with deleting some paragraph marks before 'REPORT' and inserting one after, that can be done with a simple Find/Replace operation, without the need for a macro.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
Hello. If you don't mind, I want a macro program which replaces related page numbers to appendix numbers which are written in parentheses at the end of some paragraphs of the word file report.
Here's an modified concrete example for that macro program attached to my reply. Thank you. |
#4
|
||||
|
||||
![]()
Hi Hikmetotheron,
I don't believe it will be feasible to do that with a macro. For the code to work out where the page references for each of the paragraphs in the upper portion of the page come from would be quite problematic. Indeed, it seems that what you really need is to either use a Table of Contents field (with corresponding Heading Styles for it to link to) or build up an Index, using Index fields.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
pfergy | Office | 1 | 03-12-2011 08:46 PM |
Word 2003 macro to Word 2007 to 2010 to... | maruapo | Word VBA | 0 | 06-04-2010 03:43 PM |
Problem with my microsoft word com object in c# web application | Naresh_1210 | Word VBA | 0 | 03-11-2010 12:26 AM |
![]() |
FrankW | Office | 2 | 06-13-2009 01:16 AM |
Application.Caller | pankajkankaria | Excel | 0 | 03-18-2009 11:48 AM |