Teladianium
New Member
- Joined
- Apr 10, 2012
- Messages
- 15
Hi all. I have a dilemma I hope you can help me with. I am not great at VBA so bare with me. I need a macro that will look in an individual cell and work out what to do with its contents. There could be a number, or a text and a number. the column is essentially serial numbers. for eg.
item 123
23456789
item 345
serial 56789
I need the macro to look to see if it is an item, a serial or just a number and depending on what it is do something.
eg. "item 123" would be added to a different workbook, the cell value would be split into 2 cells. one column "type" and the other "number". the "serial 56789" would follow the same pattern but to different cells and the number "23456789" would be placed in a cell according to character count.
Hope this makes sense. and thank you
item 123
23456789
item 345
serial 56789
I need the macro to look to see if it is an item, a serial or just a number and depending on what it is do something.
eg. "item 123" would be added to a different workbook, the cell value would be split into 2 cells. one column "type" and the other "number". the "serial 56789" would follow the same pattern but to different cells and the number "23456789" would be placed in a cell according to character count.
Hope this makes sense. and thank you