Hi All,
Need your help again, need to shorten this code.
Please Login or Register to view this content.
Thanks.
Hi All,
Need your help again, need to shorten this code.
Please Login or Register to view this content.
Thanks.
Might quick take on it (untested), but there is probably a better solution using an array
Please Login or Register to view this content.
Or...
Depends on the actual data. If there's more text in the cell other than 'PersonX' then something likePlease Login or Register to view this content.
might work. Either which way you need to experiment with your actual data.Please Login or Register to view this content.
cytop that's a beauty! I use like in SQL but not often in VBA. Well until now
hmm I assume that those codes will only work if the value is between Person A to E?
Person A to E represents real name though, did place Person A to E for placeholder only.
this should be editable
Maybe not condense enough for you thoughPlease Login or Register to view this content.
You could always remove the Person part and use Select Case, or perhaps even Application.Match.
If posting code please use code tags, see here.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks