for future readers: Subroutine to Get The Last Line Containing Specific Text helped me get my head around subroutines a bit more.
Can someone please tell me how I can convert my macro here into a subroutine:
![]()
![]()
![]()
.kmmacros|attachment (76.8 KB)
I'm guessing it's not structured the correct way to be a subroutine, i.e. it's not possible.. reasons:
- i actually want my variable itself to be a variable
- the result i am returning needs to be saved the source (i.e.
Save result towould be the same asinput)