Hi friends,
I’m getting compile error ‘sub or function not define’ in the attached workbook.
First I enter a register number in g7 LC sheet and then run the macro ‘LCRecord’.
I want to record the receipt number a8 and date-time b28 lc sheet on the register sheet in front of that particular register number which is entered in g7 lc sheet.
If it’s a first time then it should record in the column ‘AF’ in front of that particular register number entered in g7 lc sheet.
If column ‘ag’ is not blank then the second entry should be in column ‘Ag’ in front of that particular register number entered in g7 lc sheet.
If column ‘ah’ is not blank then the third entry should be in column ‘Ah’ in front of that particular register number entered in g7 lc sheet.
If column ‘ai’ is not blank then the fourth entry should be in column ‘Ai’ in front of that particular register number entered in g7 lc sheet.
If column ‘aj’ is not blank then the fifth entry should be in column ‘Aj’ in front of that particular register number entered in g7 lc sheet.
And so on endlessly as per the requirement.
In short the first entry should be in column ‘af’.
If there is a entry in column ‘af’ then the entries should be as:
Second on column ag
Third on column ah
Fourth on column ai
Fifth on column aj
And so on endlessly as per the requirement.
Any help will be highly appreciated.
Thanking you in anticipation.
Bookmarks