LeoDrummond
New Member
- Joined
- Feb 16, 2016
- Messages
- 2
Hello,
I have a long list of numbers- see example
279.49
290.0
260-264.99
338-338.99
v27.9
v25.41
I am having difficulty creating a VBA script that can recognize where a dash is present, and then expand those numbers as follows to become
279.49
290.0
260
261
262
263
264
338
v27.9
v25.41
I need the numbers to expand within the same column, and all numbers need to round down to the nearest 1. Also, it would be great if all other values on the same row as "640-649.99" could be replicated for each new row that is created with the expanding of that range. Oh, and notice that some numbers include a "v" at the beginning.
Thank you very much
I have a long list of numbers- see example
279.49
290.0
260-264.99
338-338.99
v27.9
v25.41
I am having difficulty creating a VBA script that can recognize where a dash is present, and then expand those numbers as follows to become
279.49
290.0
260
261
262
263
264
338
v27.9
v25.41
I need the numbers to expand within the same column, and all numbers need to round down to the nearest 1. Also, it would be great if all other values on the same row as "640-649.99" could be replicated for each new row that is created with the expanding of that range. Oh, and notice that some numbers include a "v" at the beginning.
Thank you very much