Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2007

Tip: Looking for answers? Try searching our database.

Font Size in Labels on Forms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Craig Coope - 17 Mar 2007 00:39 GMT
How can I change the font size on a label in a form. There is no
obvious option (in 97').

I have tried font.size = 12 etc to no avail...

Cheers....

--
The Zero ST
Dave Peterson - 17 Mar 2007 00:53 GMT
This worked in xl2003:

Me.Label1.Font.Size = 12

> How can I change the font size on a label in a form. There is no
> obvious option (in 97').
[quoted text clipped - 5 lines]
> --
> The Zero ST

Signature

Dave Peterson

Craig Coope - 17 Mar 2007 02:37 GMT
>This worked in xl2003:
>
[quoted text clipped - 9 lines]
>> --
>> The Zero ST

Cheers for that...

OK I am a novice when it comes to VB but the font is only large after
I click on it...I assume it is to do with the coding for the label to
change when a user clicks on it but how do I get to to stay as I want
from the very start?

--
The Zero ST
Dave Peterson - 17 Mar 2007 02:43 GMT
Go into the VBE.
Show your userform
rightclick on the label
choose properties
Look for font in the properties window
Double click on the font name (Tahoma???)
Change the font size there

Remove any code that you used to specify the font size.

======
My bet is that you didn't have it in the correct procedure.  I'm gonna guess
that you put it into some _click event.  And I think userform_Initialize would
be better.

But once you change the properties, you can delete any code (well, unless you
really want to change it from the size you made it).

> >This worked in xl2003:
> >
[quoted text clipped - 19 lines]
> --
> The Zero ST

Signature

Dave Peterson

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.