Thanks Lee Mac! Wow! That's absolutely brilliant!
Can I just make two follow-up request on this if you don't mind. Is it possible to remove the prompt and just select the mtext automatically? I'm planning to run this on multiple drawings that's why. There's only one of this mtext on every drawing and it's on the layer Room_Description. And lastly, could you please remove the "." after the letter as well? Many thanks! You're the best!
I never thought that it's going to complicate the code that much!!! Wow! And thank you very much by the way for your quick response. You never ceases to amaze me with your brilliant codes. Many, many thanks! *Thumbs up*
I'm just thinking that if some stubborn individual opted to type the letters manually instead of using the bullets then we will be getting the whole last line (e.g C. Room Description) instead of just the letter C . Is there a way to cover for this in the code in case it happens just to avoid any errors?
Thanks very much. If I'll use the second one, does it mean there's no need for your Quick Unformat routine anymore?
You're welcome Ambo :-)
I could incorporate the Quick Unformat function, but unless you are working with heavily formatted MText I think it may be overkill for this task - if you find yourself receiving unexpected results which include fragments of MText formatting, I can post a version of the function which incorporates it.
Lee
QuoteYou're welcome Ambo :-)
I could incorporate the Quick Unformat function, but unless you are working with heavily formatted MText I think it may be overkill for this task - if you find yourself receiving unexpected results which include fragments of MText formatting, I can post a version of the function which incorporates it.
Lee
Hi Lee Mac,
Sorry to bother you but I'm getting some weird values again whilst running the code on some of our drawings. The value that I sometimes get is "{\\W0". I'm not sure but I think it has something to do with the mtext width. Is there any chance you can incorporate this to the function please? I already spent a lot of time trying to understand your code so I can tweak it but it's just too complex for me.