Good morning to all,
I have the following sample data in column "A".
I've only shown 8 rows worth of data which could increase to 3000+, what I want to do is extract the last 4 digits into Column "B" only for the data shown
[TABLE="width: 64"]
<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl66, width: 64"]T/PR/T3B/01PA[/TD]
[/TR]
[TR]
[TD="class: xl66"]T/PR/T3B/01PA[/TD]
[/TR]
[TR]
[TD="class: xl66"]T/PR/T3B/01PA[/TD]
[/TR]
[TR]
[TD="class: xl66"]T/PR/T3B/01PA[/TD]
[/TR]
[TR]
[TD="class: xl66"]T/PR/T3B/01PA[/TD]
[/TR]
[TR]
[TD="class: xl66"]T/PR/T3B/01PB[/TD]
[/TR]
[TR]
[TD="class: xl66"]T/PR/T3B/01PB[/TD]
[/TR]
[TR]
[TD="class: xl66"]T/PR/T3B/01PB
[/TD]
[/TR]
</tbody>[/TABLE]
I can create VBA to copy a formulainto "B1" what I can't get my head round is to copy only where data exists in column "A".
This is part of a larger VBA exercise and this is the stumbling block.
As you may have guessed I am a complete novice at VBA so any help would be much appreciated.
Thanks in advance.
Bill.
I have the following sample data in column "A".
I've only shown 8 rows worth of data which could increase to 3000+, what I want to do is extract the last 4 digits into Column "B" only for the data shown
[TABLE="width: 64"]
<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl66, width: 64"]T/PR/T3B/01PA[/TD]
[/TR]
[TR]
[TD="class: xl66"]T/PR/T3B/01PA[/TD]
[/TR]
[TR]
[TD="class: xl66"]T/PR/T3B/01PA[/TD]
[/TR]
[TR]
[TD="class: xl66"]T/PR/T3B/01PA[/TD]
[/TR]
[TR]
[TD="class: xl66"]T/PR/T3B/01PA[/TD]
[/TR]
[TR]
[TD="class: xl66"]T/PR/T3B/01PB[/TD]
[/TR]
[TR]
[TD="class: xl66"]T/PR/T3B/01PB[/TD]
[/TR]
[TR]
[TD="class: xl66"]T/PR/T3B/01PB
[/TD]
[/TR]
</tbody>[/TABLE]
I can create VBA to copy a formulainto "B1" what I can't get my head round is to copy only where data exists in column "A".
This is part of a larger VBA exercise and this is the stumbling block.
As you may have guessed I am a complete novice at VBA so any help would be much appreciated.
Thanks in advance.
Bill.