beartooth91
New Member
- Joined
- Dec 15, 2024
- Messages
- 37
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hello Again -
I have a column of instrument ranges in Col AR (Range is AR11 to rows.count) of one sheet and want to split each of those strings into two parts - a min and a max - and then copy the min to Column R.....and copy the max to Column S, both in a different worksheet, starting in row 3.
The instrument ranges are different, with most being a '4-20ma' entry in .Cells(x, "AR"). I want to end up with 4ma in .Cells(y, "R") and 20ma in .Cells(y, "S").
Need to use a loop to copy and need to use the Split function, splitting at the hyphen (I think).
I'm pretty good with For If Then Else Next loops, but after the above..... I have no idea and could use your help.
Thanks in advance.
I have a column of instrument ranges in Col AR (Range is AR11 to rows.count) of one sheet and want to split each of those strings into two parts - a min and a max - and then copy the min to Column R.....and copy the max to Column S, both in a different worksheet, starting in row 3.
The instrument ranges are different, with most being a '4-20ma' entry in .Cells(x, "AR"). I want to end up with 4ma in .Cells(y, "R") and 20ma in .Cells(y, "S").
Need to use a loop to copy and need to use the Split function, splitting at the hyphen (I think).
I'm pretty good with For If Then Else Next loops, but after the above..... I have no idea and could use your help.
Thanks in advance.