View Single Post
 
Old 11-02-2013, 06:57 PM
Chayes Chayes is offline Windows XP Office 2003
Advanced Beginner
 
Join Date: May 2012
Posts: 79
Chayes is on a distinguished road
Default Deleting lines above selected text

Hi All

I've been trying construct some VBA to help tidy up some text.

As an example , I have lots of blocks of text like this :

BACKSTREET BOYS
SHAPE OF MY HEART
NEW UK JIVE LONG DELETED ORIGINAL 2000
63321BX19


BACKSTREET BOYS
QUIT PLAYING GAMES
EX UK JIVE ISSUE
259807BX223

I'm trying to highlight all lines containg 'BX' , and then delete the line above each of them.

It should then look like this :

BACKSTREET BOYS
SHAPE OF MY HEART
63321BX19


BACKSTREET BOYS
QUIT PLAYING GAMES
259807BX223


Grrateful for any help



Last edited by Chayes; 11-02-2013 at 06:59 PM. Reason: typo
Reply With Quote