Hi,
I have macro problem "Run-time error '9' : Subscript out of range".
The macro works in some data, some data need macro changes, some data do not work at all.
The excel file in attachment. have 3 sheet, "Monday", "Tuesday" and "Friday".
1) Sheet "Monday" : Works with original macro ( no changes).
2) Sheet "Tuesday" : Works with changesto![]()
Please Login or Register to view this content.
3) Sheet "Friday" : Not work with original macro or changes.![]()
Please Login or Register to view this content.
What is macro do is finding number pattern of Plus-Zero-Minus (+0-) then assign "1" at the start of pattern.
The data, original macro and change macro included in file excel.
Excel File : https://www.mediafire.com/file/12p3t...acro.xlsb/file
Original Code:Change Code:![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Bookmarks