tiredofit
Well-known Member
- Joined
- Apr 11, 2013
- Messages
- 1,913
- Office Version
- 365
- 2019
- Platform
- Windows
This works:
but not this:
neither do these:
Why is that?
Thanks
Rich (BB code):
MaxVal = Application.WorksheetFunction.Max(Sheet1.Range("A1:F1"))
but not this:
Rich (BB code):
MaxVal = Application.WorksheetFunction.Max(Range(Cells(1,1), Cells(1,6))))
neither do these:
Rich (BB code):
Rich (BB code):
Rich (BB code):
MaxVal = Application.WorksheetFunction.Max(Range(Sheet1.Cells(1,1), Sheet1.Cells(1,6))))
MaxVal = Application.WorksheetFunction.Max(Sheet1.Range(Cells(1,1), Cells(1,6))))
MaxVal = Application.WorksheetFunction.Max(Sheet1.Range(Sheet1.Cells(1,1), Sheet1.Cells(1,6))))
Why is that?
Thanks