You question does not really make sense in isolation. Either this is a small part of a larger task, and so may not suit, or you have a VB file with no trailing blanks. Or something else.
Unless you have a simple VB with just one field, in which case this code will work, please add what you have tried and what output it gave you.
You question does not really make sense in isolation. Either this is a small part of a larger task, and so may not suit, or you have a VB file with no trailing blanks. Or something else.
Unless you have a simple VB with just one field, in which case this code will work, please add what you have tried and what output it gave you.