View Single Post
 
Old 12-23-2011, 12:07 AM
tinfanide tinfanide is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Hi tinfanide,

Those links have the Word parameter names in the left column, and their values in the adjacent column. Based on what's in the links, you'd change:
.Borders(wdBorderTop).LineStyle = wdLineStyleSingle
to:
.Borders(-1).LineStyle = 1
Quite simple, really.
Yes, simple, I see how.
But why should Word Automation in Excel or controlling one application in another application be like this? I mean must use the numeric values instead of Application Names in this case of late binding?

Is it because numeric values are shared by different versions of Office? Application Names are varied?
Reply With Quote