Ahh You are using the Personal Macro as a subroutine.
Public LR As Integer
Or![]()
Sub test() get_boards(LR) End Sub
![]()
Sub test() Call get_boards(LR) End Sub
and the Code from personal.xlsb
![]()
Public Sub get_boards() LR=Cells(Rows.Count, 1).End(xlUp).Row End Sub
Bookmarks