Paragraph marks before Tables

P

Purvi Sheth

Hi All,

I've been trying to replace all paragraph marks in a
document with a specific formatting using the Find-Replace
tool. The problem is that Word skips any paragraph mark
before a table when using Replace All. However, if I find
or replace each paragraph mark one by one, then the
paragraph marks before the table are identified. I cannot
loop through each paragraph mark one by one as it is time-
consuming. Even looping through tables and then fomatting
the previous paragraph mark is time-consuming. I'm looking
for a direct find-replace method that would do this work
for me. Is there any way this can be done?

I'm not sure if this is the right group to post this
issue. If this is not, I would appreciate if you could
point me to the right group.

Thanks,
Purvi
 
J

Jean-Guy Marcil

Bonjour,

Dans son message, < Purvi Sheth > écrivait :
In this message, < Purvi Sheth > wrote:

|| Hi All,
||
|| I've been trying to replace all paragraph marks in a
|| document with a specific formatting using the Find-Replace
|| tool. The problem is that Word skips any paragraph mark
|| before a table when using Replace All. However, if I find

What Word version?

It works fine here with Word XP. I did a Find ¶ and replace all by Red
colour. All ¶ in the document turned red, even those inside the tables...

|| or replace each paragraph mark one by one, then the
|| paragraph marks before the table are identified. I cannot
|| loop through each paragraph mark one by one as it is time-
|| consuming. Even looping through tables and then fomatting
|| the previous paragraph mark is time-consuming. I'm looking
|| for a direct find-replace method that would do this work
|| for me. Is there any way this can be done?
||
|| I'm not sure if this is the right group to post this
|| issue. If this is not, I would appreciate if you could
|| point me to the right group.
||
|| Thanks,
|| Purvi

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
P

Purvi

Hi,

I'm using Word 2000, but I'm facing the same problem in
Office XP also. I have installed latest updates also for
Office 2000 but not for Office XP. Could that be the
reason?

Basically I need to replace all paragraph marks and make
it font size 2 so that they are hardly visible. I've tried
this manually and programmatically also.

When I create a table after a paragraph, the paragraph
mark immediately before the table remains whatever font
size it was earlier even after using replace all function.
But it does work if you go one by one.

I tried changing all the paragraph marks to red using
replace all function but it still skips.

Does OS make a difference? I'm using Windows 2000.

Thanks,
Purvi
 
J

Jean-Guy Marcil

Bonjour,

Dans son message, < Purvi > écrivait :
In this message, < Purvi > wrote:

| Hi,
|
| I'm using Word 2000, but I'm facing the same problem in
| Office XP also. I have installed latest updates also for
| Office 2000 but not for Office XP. Could that be the
| reason?

You observed this behaviour under Word 2000 and XP?
With all documents?

|
| Basically I need to replace all paragraph marks and make
| it font size 2 so that they are hardly visible. I've tried
| this manually and programmatically also.

Why?

|
| When I create a table after a paragraph, the paragraph
| mark immediately before the table remains whatever font
| size it was earlier even after using replace all function.
| But it does work if you go one by one.
|
| I tried changing all the paragraph marks to red using
| replace all function but it still skips.

Again, have you tried with a new document? Is this behaviour displayed with
all documents, or just the one?

|
| Does OS make a difference? I'm using Windows 2000.

Shouldn't. Although I find that Windows 2000 is a bit flaky... but that's
just me!

|
| Thanks,
| Purvi
|
|| -----Original Message-----
|| Bonjour,
||
|| Dans son message, < Purvi Sheth > écrivait :
|| In this message, < Purvi Sheth > wrote:
||
|||| Hi All,
||||
|||| I've been trying to replace all paragraph marks in a
|||| document with a specific formatting using the Find- Replace
|||| tool. The problem is that Word skips any paragraph mark
|||| before a table when using Replace All. However, if I find
||
|| What Word version?
||
|| It works fine here with Word XP. I did a Find ¶ and replace all by Red
|| colour. All ¶ in the document turned red, even those inside the tables...
||
|||| or replace each paragraph mark one by one, then the
|||| paragraph marks before the table are identified. I cannot
|||| loop through each paragraph mark one by one as it is time-
|||| consuming. Even looping through tables and then fomatting
|||| the previous paragraph mark is time-consuming. I'm looking
|||| for a direct find-replace method that would do this work
|||| for me. Is there any way this can be done?
||||
|||| I'm not sure if this is the right group to post this
|||| issue. If this is not, I would appreciate if you could
|||| point me to the right group.
||||
|||| Thanks,
|||| Purvi
||
|| --
|| Salut!
|| _______________________________________
|| Jean-Guy Marcil - Word MVP
|| (e-mail address removed)
|| Word MVP site: http://www.word.mvps.org
||
||
||
|| .

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
K

Klaus Linke

Hi Purvi,

It's a problem in all versions. You can't replace a paragraph immediately
preceeding a table with "Find/Replace".
To do so, Word would have to temporarily remove the paragraph mark. And
since a table needs a preceeding paragraph mark, Word can't do it.

But the good news is that you don't really need to replace
(delete/re-insert) the paragraph mark -- You just want to change it's
formatting.

Instead of using ^p or ^& in "Replace with", just leave it empty. That way,
you just apply the formatting, and Word doesn't need to temporarily remove
the ¶ mark.

Regards,
Klaus



Hi,

I'm using Word 2000, but I'm facing the same problem in
Office XP also. I have installed latest updates also for
Office 2000 but not for Office XP. Could that be the
reason?

Basically I need to replace all paragraph marks and make
it font size 2 so that they are hardly visible. I've tried
this manually and programmatically also.

When I create a table after a paragraph, the paragraph
mark immediately before the table remains whatever font
size it was earlier even after using replace all function.
But it does work if you go one by one.

I tried changing all the paragraph marks to red using
replace all function but it still skips.

Does OS make a difference? I'm using Windows 2000.

Thanks,
Purvi
 
S

Suzanne S. Barnhill

I don't believe that it is quite accurate to say that a table needs a
preceding paragraph mark (you can put a table at the very beginning of a
document), but certainly any text that occurs before a table must end with a
paragraph mark. And Word does require a paragraph mark (even if the
paragraph is empty) following a table.
 
K

Klaus Linke

Suzanne S. Barnhill said:
I don't believe that it is quite accurate to say that a table
needs a preceding paragraph mark (you can put a table at
the very beginning of a document), but certainly any text
that occurs before a table must end with a paragraph mark.
And Word does require a paragraph mark (even if the
paragraph is empty) following a table.


:) Proof again that there's no rule without exception.

Klaus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top