Fit text inside to an object 100%

Hello,

I have to fit numbers to several shape-s like this. I use Fit text to frame method but sometimes it results like this: (the number goes outside to the shape..)

Good quality image: http://www.kepfeltoltes.eu/images/2022/01/23/127111.png

I would need an automatic method what makes the positioning/ resizing of the numbers 100% correct.

The numbering is a part of a macro which I'm using to order the correct numbers...

BTW: I was trying to make the text frame (margin) larger but there is no option for it. 

Thanks for everyone who wants to help me!

Zoltán

Parents
No Data
Reply
  • Hello Taras,

    The following line is not good as SRgrp stays 'Nothing' after executing this line:

    Set SRgrp = eff1.Separate

    And then the following line gives exception as the previous line resulted SRgrp to be 'Nothing'.

    I am really appreciate your kind help, - I'll try to solve it today, but if you have any idea, please let me know.

    Thank you very much!

    Zoltán

Children