Hi
I've been looking for a VB code that can go through every row in my table and fill the cells with blank spaces or zeros to the maximum field length.
It would need to go through every column and row.
For example:
If I have a field that has a maximum field length of 10 characters and the cell has data which is 5 characters - I need the remainder to be filled with 5 blank spaces if its a text cell.
If I have a field that has a maximum field length of 15 characters and the cell has data which is 2 characters - I need the remainder to be filled with 13 blank spaces.
I hope someone can help with this easily.
Thanks very much in advance.
SW
I've been looking for a VB code that can go through every row in my table and fill the cells with blank spaces or zeros to the maximum field length.
It would need to go through every column and row.
For example:
If I have a field that has a maximum field length of 10 characters and the cell has data which is 5 characters - I need the remainder to be filled with 5 blank spaces if its a text cell.
If I have a field that has a maximum field length of 15 characters and the cell has data which is 2 characters - I need the remainder to be filled with 13 blank spaces.
I hope someone can help with this easily.
Thanks very much in advance.
SW