Hi,
I have set up a range in vba as follows (see rngsourcedata):
![]()
Dim fl_name As String Dim rngsourcedata As Range fl_name = ThisWorkbook.Name Set wrksht_data = Workbooks(fl_name).Worksheets(1) status_col = 10 Set rngsourcedata = wrksht_data.Columns(status_col).SpecialCells(xlCellTypeConstants)
The problem is that if status_col is "empty" then i get a run time error.
I thought if a range is empty that it would evaluate to "Nothing"......not cause a runtime error.......
any thoughts/ideas?
Bookmarks