Is using .Clean(Trim(StmtStartDate)) in every instance too much? Does it affect performance appreciably?
With Application.WorksheetFunction
Please Login or Register to view this content.
Is using .Clean(Trim(StmtStartDate)) in every instance too much? Does it affect performance appreciably?
With Application.WorksheetFunction
Please Login or Register to view this content.
Last edited by AliGW; 10-11-2018 at 01:13 AM. Reason: Code tags added.
If the variable has already gone through a .Clean(Trim( barrage, there's no need to do it again within the code. It probably doesn't add much overhead to that small bit of code and a small/medium data set, but it's not necessary.
Also, be sure to put your code between CODE tags in the future. You can type CODE and /CODE enclosed in brackets (the first before your code, and the latter after it), or you can press the # button in the text-editor toolbar to insert the tags.
Thank you. And thank you for the advice.
I have done it for you this time, but in future please use code tags (see forum rule #2).
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
PS Unless you are a time traveler, I think the version of Excel in your profile is incorrect ... Please change it.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks