![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)
Im trying to write some code which will tell me how many products are within a selected range which is defined by the user.
I can easily loop through all the records in a sheet to find out whether they match my criteria but am struggling with pulling out just a certain range as i do not how to recieve the first and last row highlighted by a user.
![[smarty] [smarty] [smarty]](/data/assets/smilies/smarty.gif)
Thanks in advance
![[thumbsup2] [thumbsup2] [thumbsup2]](/data/assets/smilies/thumbsup2.gif)
![[pc3] [pc3] [pc3]](/data/assets/smilies/pc3.gif)
Adam
![[glasses] [glasses] [glasses]](/data/assets/smilies/glasses.gif)