Reevesy1988
New Member
- Joined
- Jan 23, 2015
- Messages
- 6
Hi guys,
I am a beginner when it comes to VBA code. I can write the simplest of codes however am having trouble with one.
I have a table of data (a GL download) and am creating a reconciliation macro.
As part of this macro i need it to look for a specific format of data, within a certain column for each row and enter this data in the next empty column.
The data in the cell in question may be 2 different formats;
adX0000X - blah blah blah
AD X0000X - blah blah blah
X0000X - blah blah blah
This will always be the beginning of the text however what i need it to extract is X0000X. Having said this X resembles any letter and 0 resembles any number. Also sometimes there may only be 3 numbers and other times 4
Any advice or guidance would be greatly appreciated.
Im currently reading through Bill Jelens book (VBA and Macros) which is very helpful but couldn't find anything for custom searches like this.
Thanks guys
I am a beginner when it comes to VBA code. I can write the simplest of codes however am having trouble with one.
I have a table of data (a GL download) and am creating a reconciliation macro.
As part of this macro i need it to look for a specific format of data, within a certain column for each row and enter this data in the next empty column.
The data in the cell in question may be 2 different formats;
adX0000X - blah blah blah
AD X0000X - blah blah blah
X0000X - blah blah blah
This will always be the beginning of the text however what i need it to extract is X0000X. Having said this X resembles any letter and 0 resembles any number. Also sometimes there may only be 3 numbers and other times 4
Any advice or guidance would be greatly appreciated.
Im currently reading through Bill Jelens book (VBA and Macros) which is very helpful but couldn't find anything for custom searches like this.
Thanks guys