Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to send values to an Excel Spreadsheet
Message
 
To
08/01/1999 14:43:25
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00173811
Message ID:
00174355
Views:
24
Gerry,
Here's what code was written by the Excel Macro recorder when I aligned a cell. The real way to master Automation is to use the macro recorder in the application you are automation in combination with the object browser of VB/VBA.

The constants shown have the following values
xlBottom = -4107
xlRight = -4152

Range("A1").Select
With Selection
.HorizontalAlignment = xlRight
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.ShrinkToFit = False
.MergeCells = False
End With


Hope this helps...
Rod
Rod Paddock
Editor in Chief CoDe Magazine
President Dash Point Software, Inc.
VP Red Matrix Technologies,Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform