Set default textbox font

D

Dale Fye

I'm using Access 2007 and VBA to create a series of slides in a PPT brief.

Would like to set the default font and font.size of textbox shapes added
using the AddTextbox method to Arial, 16. I'm currently adding lines for
each textbox. If I cannot figure out a way to do this with just a couple of
lines of code, at the beginning of my routine, I'll writing a subroutine with
just two lines and pass a shape to the sub. However, I would prefer to do
this with just two lines of codeat the beginning of my code segment.
 
J

John Wilson

If you have one textbox with the correct font you should be able to use
..SetShapesDefaultProperties
 

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

Top