Good day.
Please I want help to find the last column within a range (DS4:ED4)with vba. Thanks in advance
Good day.
Please I want help to find the last column within a range (DS4:ED4)with vba. Thanks in advance
Hi Sirwan and welcome to the Forum
If there is never data beyond column ED, then Don has a tutorial on this site for that; see: Find the Last Column with Data in Excel VBAand you can get the last column in row 4 (in bold below) using:
Cells(4, Columns.Count).End(xlToLeft)
Hope this helps.