Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Al Smyth Al Smyth is offline
external usenet poster
 
Posts: 1
Default how do i automatically delete many captions

I have many documents with lots of unwanted captions within each document. Is
there a method where I can automatically remove ALL captions rather than
manually delete each one. Thanks for any assistance.
Al S
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Crios Crios is offline
external usenet poster
 
Posts: 25
Default how do i automatically delete many captions

If the captions use the "caption" style you could use either:
Find: any character (^?), Format: Style: Caption, Check "Highlight all
items..." then Delete
Find and replace: same Find as above , Replace with nothing

Hope this helps

"Al Smyth" Al wrote in message
...
I have many documents with lots of unwanted captions within each document.
Is
there a method where I can automatically remove ALL captions rather than
manually delete each one. Thanks for any assistance.
Al S



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Al Smyth[_2_] Al Smyth[_2_] is offline
external usenet poster
 
Posts: 3
Default how do i automatically delete many captions

G'Day Crios,
I have been able to test out your method which does work with "caption
formatting". Unfortunately I have discovered the documents I am editing are
NOT using caption formating but the Field "seq" to number items. Although I
am able to search using ^d to find the fields and individually delete the
required fields, I have yet to discover how to specifically target the seq
field so as not to delete the other fields contained in the document. Guess
it back to the reading room. Thank you for your assistance and if you can
think of how to target and delete a specific field it would be appreciated.
Al S

"Crios" wrote:

If the captions use the "caption" style you could use either:
Find: any character (^?), Format: Style: Caption, Check "Highlight all
items..." then Delete
Find and replace: same Find as above , Replace with nothing

Hope this helps

"Al Smyth" Al wrote in message
...
I have many documents with lots of unwanted captions within each document.
Is
there a method where I can automatically remove ALL captions rather than
manually delete each one. Thanks for any assistance.
Al S




  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Crios Crios is offline
external usenet poster
 
Posts: 25
Default how do i automatically delete many captions

Hi

you could use the lack of caption formatting to your advantage:
1 change to view field codes (Alt+F9)
2 replace "SEQ" with Special "find what text" (^&), Format: Style:
Caption (or any other style that you don't use in the documents)
3 replace Special "Any character", Format: Style: Caption with nothing

Hope this works.


"Al Smyth" wrote in message
news
G'Day Crios,
I have been able to test out your method which does work with "caption
formatting". Unfortunately I have discovered the documents I am editing
are
NOT using caption formating but the Field "seq" to number items. Although
I
am able to search using ^d to find the fields and individually delete the
required fields, I have yet to discover how to specifically target the seq
field so as not to delete the other fields contained in the document.
Guess
it back to the reading room. Thank you for your assistance and if you can
think of how to target and delete a specific field it would be
appreciated.
Al S

"Crios" wrote:

If the captions use the "caption" style you could use either:
Find: any character (^?), Format: Style: Caption, Check "Highlight
all
items..." then Delete
Find and replace: same Find as above , Replace with nothing

Hope this helps

"Al Smyth" Al wrote in message
...
I have many documents with lots of unwanted captions within each
document.
Is
there a method where I can automatically remove ALL captions rather
than
manually delete each one. Thanks for any assistance.
Al S






  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Al Smyth[_2_] Al Smyth[_2_] is offline
external usenet poster
 
Posts: 3
Default how do i automatically delete many captions

Hi Crios,
Thank you for all your help. Your suggested method did have a side-effect by
making the entire line the field was in caption style. I may try this method
again on a newer version of office and see if it works correctly there (I
have 2000, 2003 and 2007 and currently was working on 2000). However using
your suggestion I was able to change the formatting font's colour to white,
thus rendering the captions invisible. I will now contruct a macro and add to
normal.dot. This will certainly make my task much easier.
Thanks again
Al S

"Crios" wrote:

Hi

you could use the lack of caption formatting to your advantage:
1 change to view field codes (Alt+F9)
2 replace "SEQ" with Special "find what text" (^&), Format: Style:
Caption (or any other style that you don't use in the documents)
3 replace Special "Any character", Format: Style: Caption with nothing

Hope this works.


"Al Smyth" wrote in message
news
G'Day Crios,
I have been able to test out your method which does work with "caption
formatting". Unfortunately I have discovered the documents I am editing
are
NOT using caption formating but the Field "seq" to number items. Although
I
am able to search using ^d to find the fields and individually delete the
required fields, I have yet to discover how to specifically target the seq
field so as not to delete the other fields contained in the document.
Guess
it back to the reading room. Thank you for your assistance and if you can
think of how to target and delete a specific field it would be
appreciated.
Al S

"Crios" wrote:

If the captions use the "caption" style you could use either:
Find: any character (^?), Format: Style: Caption, Check "Highlight
all
items..." then Delete
Find and replace: same Find as above , Replace with nothing

Hope this helps

"Al Smyth" Al wrote in message
...
I have many documents with lots of unwanted captions within each
document.
Is
there a method where I can automatically remove ALL captions rather
than
manually delete each one. Thanks for any assistance.
Al S








  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default how do i automatically delete many captions

If the aim of the game is to remove SEQ fields, the following macro will do
that

Dim sLabel As String
sLablel = "Label"
With ActiveDocument
For i = .Fields.Count To 1 Step -1
If .Fields(i).Type = wdFieldSequence Then
' If InStr(1, .Fields(i), sLabel) Then
.Fields(i).Delete
'End If
End If
Next i
End With

It is possible to have several numbering sequences in a document. If you
only want to remove the SEQ fields for a particular sequence, then remove
the initial quotes from the quoted lines and set the sequence name in the
variable sLabel
http://www.gmayor.com/installing_macro.htm
--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Al Smyth wrote:
Hi Crios,
Thank you for all your help. Your suggested method did have a
side-effect by making the entire line the field was in caption style.
I may try this method again on a newer version of office and see if
it works correctly there (I have 2000, 2003 and 2007 and currently
was working on 2000). However using your suggestion I was able to
change the formatting font's colour to white, thus rendering the
captions invisible. I will now contruct a macro and add to
normal.dot. This will certainly make my task much easier.
Thanks again
Al S

"Crios" wrote:

Hi

you could use the lack of caption formatting to your advantage:
1 change to view field codes (Alt+F9)
2 replace "SEQ" with Special "find what text" (^&), Format: Style:
Caption (or any other style that you don't use in the documents)
3 replace Special "Any character", Format: Style: Caption with
nothing

Hope this works.


"Al Smyth" wrote in message
news
G'Day Crios,
I have been able to test out your method which does work with
"caption formatting". Unfortunately I have discovered the documents
I am editing are
NOT using caption formating but the Field "seq" to number items.
Although I
am able to search using ^d to find the fields and individually
delete the required fields, I have yet to discover how to
specifically target the seq field so as not to delete the other
fields contained in the document. Guess
it back to the reading room. Thank you for your assistance and if
you can think of how to target and delete a specific field it would
be appreciated.
Al S

"Crios" wrote:

If the captions use the "caption" style you could use either:
Find: any character (^?), Format: Style: Caption, Check
"Highlight all
items..." then Delete
Find and replace: same Find as above , Replace with nothing

Hope this helps

"Al Smyth" Al wrote in message
...
I have many documents with lots of unwanted captions within each
document.
Is
there a method where I can automatically remove ALL captions
rather than
manually delete each one. Thanks for any assistance.
Al S



  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Al Smyth[_2_] Al Smyth[_2_] is offline
external usenet poster
 
Posts: 3
Default how do i automatically delete many captions

Hi Graham,
Thanks for this alternative which is more elegant to what I finally used.
This will be added to my knowledge base for future reference.
Al S

"Graham Mayor" wrote:

If the aim of the game is to remove SEQ fields, the following macro will do
that

Dim sLabel As String
sLablel = "Label"
With ActiveDocument
For i = .Fields.Count To 1 Step -1
If .Fields(i).Type = wdFieldSequence Then
' If InStr(1, .Fields(i), sLabel) Then
.Fields(i).Delete
'End If
End If
Next i
End With

It is possible to have several numbering sequences in a document. If you
only want to remove the SEQ fields for a particular sequence, then remove
the initial quotes from the quoted lines and set the sequence name in the
variable sLabel
http://www.gmayor.com/installing_macro.htm
--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Al Smyth wrote:
Hi Crios,
Thank you for all your help. Your suggested method did have a
side-effect by making the entire line the field was in caption style.
I may try this method again on a newer version of office and see if
it works correctly there (I have 2000, 2003 and 2007 and currently
was working on 2000). However using your suggestion I was able to
change the formatting font's colour to white, thus rendering the
captions invisible. I will now contruct a macro and add to
normal.dot. This will certainly make my task much easier.
Thanks again
Al S

"Crios" wrote:

Hi

you could use the lack of caption formatting to your advantage:
1 change to view field codes (Alt+F9)
2 replace "SEQ" with Special "find what text" (^&), Format: Style:
Caption (or any other style that you don't use in the documents)
3 replace Special "Any character", Format: Style: Caption with
nothing

Hope this works.


"Al Smyth" wrote in message
news G'Day Crios,
I have been able to test out your method which does work with
"caption formatting". Unfortunately I have discovered the documents
I am editing are
NOT using caption formating but the Field "seq" to number items.
Although I
am able to search using ^d to find the fields and individually
delete the required fields, I have yet to discover how to
specifically target the seq field so as not to delete the other
fields contained in the document. Guess
it back to the reading room. Thank you for your assistance and if
you can think of how to target and delete a specific field it would
be appreciated.
Al S

"Crios" wrote:

If the captions use the "caption" style you could use either:
Find: any character (^?), Format: Style: Caption, Check
"Highlight all
items..." then Delete
Find and replace: same Find as above , Replace with nothing

Hope this helps

"Al Smyth" Al wrote in message
...
I have many documents with lots of unwanted captions within each
document.
Is
there a method where I can automatically remove ALL captions
rather than
manually delete each one. Thanks for any assistance.
Al S




  #8   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default how do i automatically delete many captions

I hope you removed the typo
sLablel = "Label" should have read
sLabel = "Label"

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Al Smyth wrote:
Hi Graham,
Thanks for this alternative which is more elegant to what I finally
used. This will be added to my knowledge base for future reference.
Al S

"Graham Mayor" wrote:

If the aim of the game is to remove SEQ fields, the following macro
will do that

Dim sLabel As String
sLablel = "Label"
With ActiveDocument
For i = .Fields.Count To 1 Step -1
If .Fields(i).Type = wdFieldSequence Then
' If InStr(1, .Fields(i), sLabel) Then
.Fields(i).Delete
'End If
End If
Next i
End With

It is possible to have several numbering sequences in a document. If
you only want to remove the SEQ fields for a particular sequence,
then remove the initial quotes from the quoted lines and set the
sequence name in the variable sLabel
http://www.gmayor.com/installing_macro.htm
--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Al Smyth wrote:
Hi Crios,
Thank you for all your help. Your suggested method did have a
side-effect by making the entire line the field was in caption
style. I may try this method again on a newer version of office and
see if it works correctly there (I have 2000, 2003 and 2007 and
currently was working on 2000). However using your suggestion I was
able to change the formatting font's colour to white, thus
rendering the captions invisible. I will now contruct a macro and
add to normal.dot. This will certainly make my task much easier.
Thanks again
Al S

"Crios" wrote:

Hi

you could use the lack of caption formatting to your advantage:
1 change to view field codes (Alt+F9)
2 replace "SEQ" with Special "find what text" (^&), Format:
Style: Caption (or any other style that you don't use in the
documents) 3 replace Special "Any character", Format: Style:
Caption with nothing

Hope this works.


"Al Smyth" wrote in message
news G'Day Crios,
I have been able to test out your method which does work with
"caption formatting". Unfortunately I have discovered the
documents I am editing are
NOT using caption formating but the Field "seq" to number items.
Although I
am able to search using ^d to find the fields and individually
delete the required fields, I have yet to discover how to
specifically target the seq field so as not to delete the other
fields contained in the document. Guess
it back to the reading room. Thank you for your assistance and if
you can think of how to target and delete a specific field it
would be appreciated.
Al S

"Crios" wrote:

If the captions use the "caption" style you could use either:
Find: any character (^?), Format: Style: Caption, Check
"Highlight all
items..." then Delete
Find and replace: same Find as above , Replace with nothing

Hope this helps

"Al Smyth" Al wrote in message
...
I have many documents with lots of unwanted captions within each
document.
Is
there a method where I can automatically remove ALL captions
rather than
manually delete each one. Thanks for any assistance.
Al S



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Captions - Automatically insert character after numbered label? wildetudor Microsoft Word Help 7 November 3rd 08 11:28 PM
Table captions converted to figure captions, & vice versa bufossil Microsoft Word Help 12 May 18th 07 08:10 AM
how to delete or move captions for tables & figures xppuser Page Layout 4 July 11th 06 04:46 PM
How to automatically delete e-mails once sent early riser Microsoft Word Help 1 October 11th 05 05:56 PM
Word 2000 Figure Captions Automatically Reset to 1 after Each Heading 1 ricmak Microsoft Word Help 1 June 9th 05 07:06 PM


All times are GMT +1. The time now is 03:37 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"