View Single Post
 
Old 08-22-2016, 03:11 PM
AustinBrister AustinBrister is offline Windows 7 64bit Office 2013
Novice
 
Join Date: May 2015
Posts: 16
AustinBrister is on a distinguished road
Default

All:

Thank you so much for your help on all of this. Very helpful and interesting to see other people's much cleaner and more organized redo of my code. Much easier to understand what's going on.

I came across another question about this process.

What if I wanted to specify a range of numbers, say "20-30," that needed to be adjusted up or down by 1 or 2? In other words, once the numbers are expanded, correct all numbers within a defined range up or down by a specified amount (20 should become 22, 21 should become 23, and so on), and then proceed to sort and compress those numbers. Seems like this should be a fairly simple operation that could be inserted after the gmaxey's bubblesort expands the strSpanDelimiter, but I'm not sure where to add the operation.
Reply With Quote