Userform Captions

  • Thread starter Thread starter Greg
  • Start date Start date
G

Greg

Is there any way to centre the writing on a caption on a userform?

Thanks

Greg
 
You can sort of by putting the right number of spaces before the caption.
Unfortunately it will never be very accurate as VBA doesn't have the
TextWidth property like
VB has. So you will have to work out some complex calculations and even then
it won't be
precisely centred.

RBS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top