WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Explain Complie error

 
Goto page Previous  1, 2
   Home -> Office -> User Forms RSS
Next:  mail Merge not recognizing all Excel merge fields  
Author Message
Tony Strazzeri

External


Since: Jan 02, 2008
Posts: 9



(Msg. 9) Posted: Sun Apr 12, 2009 12:08 am
Post subject: Re: Explain Complie error [Login to view extended thread Info.]
Archived from groups: microsoft>public>word>vba>userforms (more info?)

You can of course just iterate all the controls on the form as in;

' Change font size too!
SetFontSize (x_size)

End Sub
Private Function SetFontSize(x_size) As Integer
Dim ctrl As Control

If Int(x_size) > 0 Then
' Change font size
SetFontSize = Int(x_size * Cool
x_size = SetFontSize

For Each ctrl In Me.Controls
ctrl.Font.Size = x_size
Next
End If

End Function


Cheers
TonyS.
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> User Forms All times are: Eastern Time (US & Canada) (change)
Goto page Previous  1, 2
Page 2 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support