Please see code below - why after "Return" can I not sort the data ?
any ideas ?
Thanks
Please Login or Register to view this content.
Please see code below - why after "Return" can I not sort the data ?
any ideas ?
Thanks
Please Login or Register to view this content.
Hi,
Impossible to say without seeing the workbook in question. Would you upload it please.
As an aside the macro looks as though it's been captured with the Macro recorder. This is fine for starters but code captured in this way is almost always too bloated and can be simplified considerably.
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star icon below the post.
Hi Richard
Yes I am a novice and my intention is to get the code on paper and look for ways to make it smarter afterwards - as much as I can do.
Thanks for helping - I attach the data to run the code ontest script 2.xls
Hi,
The code in the workbook is not consistent with that which you showed in your original post.
Can we go back to basics and can you describe what you are trying to achieve. It seems that you want to start with your data sheet and then do something with it. If you can describe in a narrative form what that something is and manually create the Report sheet that you expect to see after the macro has processed then no doubt we can assist further,
No code after Return will be processed since control passes back up to the line following the Gosub statement (who on earth uses Gosub these days?? [Edit: never mind - now I know who!]) and there's an Exit Sub preceding the GetDueDate label.
Last edited by romperstomper; 09-30-2014 at 06:22 AM.
Remember what the dormouse said
Feed your head
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks