ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,832
- Office Version
- 2007
- Platform
- Windows
Morning,
I am wanting to change a value of 1 to a 2 in two sets of numbers.
The column in question is J
The worksheet is called DATABASE
Range is J6 then down the page
Number format comprising of two sets of numbers in the cell is as example 987652 - 758651
The important part is the last number for each set of which must be a 1
As you can see in the above example the first set ends in 2 "987652" so once the code has been run it should become "987651"
Some info for you.
Some cells will have the correct format so this cell should be ignored.
Some cells will have both number sets ending in a 2 so both need to be changed to a 1
Some cells will only have a 2 in the second set of numbers.
Whilst im thinking about it the inserted values in each cell must be like this.
Fit set of numbers will always consist of 6 numbers followed by a space then - then a space then 6 numbers where both sets end with a 1
Is there something we can do to change the entered value should the user have used 2 spaces as opposed to 1 or the like.
Many thanks
I am wanting to change a value of 1 to a 2 in two sets of numbers.
The column in question is J
The worksheet is called DATABASE
Range is J6 then down the page
Number format comprising of two sets of numbers in the cell is as example 987652 - 758651
The important part is the last number for each set of which must be a 1
As you can see in the above example the first set ends in 2 "987652" so once the code has been run it should become "987651"
Some info for you.
Some cells will have the correct format so this cell should be ignored.
Some cells will have both number sets ending in a 2 so both need to be changed to a 1
Some cells will only have a 2 in the second set of numbers.
Whilst im thinking about it the inserted values in each cell must be like this.
Fit set of numbers will always consist of 6 numbers followed by a space then - then a space then 6 numbers where both sets end with a 1
Is there something we can do to change the entered value should the user have used 2 spaces as opposed to 1 or the like.
Many thanks