Line Property Change (1 Viewer)

G

geetarman

Guest
I have a set of 102 forms. Every line on each form is set to "hairline". I would like to change this setting to 1 pt.
In the Line Properties it is listed as "Border Width - Hairline".

Is there a way to change each line on a form with some code?

Thanks,

Kelly Dunn
 

Travis

Registered User.
Local time
Today, 00:35
Joined
Dec 17, 1999
Messages
1,332
You will need to use VBA.

Loop through the Form Collection.
Open the form in Design view.

Then loop through the Forms controls looking for controls that are Lines. Then set the Property. Finally Save the form and close.
 

Jack Cowley

Registered User.
Local time
Today, 08:35
Joined
Aug 7, 2000
Messages
2,639
You could also purchase Rick Fishers Find and Replace and do it that way. I program well worth the price of admission as it does a lot of other chores as well...

www.rickworld.com
 

Users who are viewing this thread

Top Bottom