Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-26-2012, 08:35 PM
davidku davidku is offline Using Find/Replace or VBA Windows 7 64bit Using Find/Replace or VBA Office 2010 64bit
Novice
Using Find/Replace or VBA
 
Join Date: Apr 2012
Posts: 4
davidku is on a distinguished road
Default Using Find/Replace or VBA

Hi,

In my MS Word document, there are about 300 pages.


I need to remove the last line of each page if it is a number.

Any way to achieve it without writing a macro or I need a macro.
Thanks for suggestion.

Here's how the content looks like

page 1
some content here. content here. some content here. content here
some content here. content here
some content here. content here
some content here. content here
some content here. content here
some content here. content here

1

page 2
some content here. content here. some content here. content here
some content here. content here
some content here. content here
some content here. content here
some content here. content here
some content here. content here

2
Reply With Quote
  #2  
Old 04-27-2012, 12:53 AM
Charles Kenyon Charles Kenyon is offline Using Find/Replace or VBA Windows Vista Using Find/Replace or VBA Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,082
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Use Alt-F9 to see if the number at the bottom is a { PAGE } page number field. If it is the replace should be relatively simple.
Reply With Quote
  #3  
Old 04-27-2012, 02:02 AM
macropod's Avatar
macropod macropod is offline Using Find/Replace or VBA Windows 7 64bit Using Find/Replace or VBA Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Cross-posted (and answered) at: http://www.mrexcel.com/forum/showthr...38#post3134138
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #4  
Old 04-27-2012, 04:29 AM
davidku davidku is offline Using Find/Replace or VBA Windows 7 64bit Using Find/Replace or VBA Office 2010 64bit
Novice
Using Find/Replace or VBA
 
Join Date: Apr 2012
Posts: 4
davidku is on a distinguished road
Default

Hi Charles,

Unfortunately, it is not. Since I converted it from PDF to MS Word, it is just 1 line of text as part of the content. I will continue to explore other Find / Replace function to get it right.

macropod, it is fine with this posting... since the previous one is more towards Excel, I just want to get some opinion from other people. thanks for pointing out.
Reply With Quote
  #5  
Old 04-27-2012, 04:39 PM
macropod's Avatar
macropod macropod is offline Using Find/Replace or VBA Windows 7 64bit Using Find/Replace or VBA Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Solved at Mr Excel.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Find/Replace or VBA Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM
Using Find/Replace or VBA Is there a way to use "find/replace" to find italics words? slayda Word 3 09-14-2011 02:16 PM
Using Find/Replace or VBA Find and Replace kjxavier Word 6 08-19-2011 09:56 PM
Using Find/Replace or VBA Help with find and replace or query and replace shabbaranks Excel 4 03-19-2011 08:38 AM
find and replace anil3b2 Word 0 08-03-2010 11:30 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:16 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft