BrianExcel
Well-known Member
- Joined
- Apr 21, 2010
- Messages
- 975
I have this line of code that seems to work in some modules but not in others. Can someone please tell me (in plain English) what the "-1" means in this line of code?
sDates = Right(daterangeballpractice, Application.WorksheetFunction.Find(" ", daterangeballpractice) - 1)
Any thoughts? The "Date Range" cell I am referencing has different values in it so I need to basically search right of a dash (-).
Thanks!
sDates = Right(daterangeballpractice, Application.WorksheetFunction.Find(" ", daterangeballpractice) - 1)
Any thoughts? The "Date Range" cell I am referencing has different values in it so I need to basically search right of a dash (-).
Thanks!