hi....i'm creating an excel output using Navision's C/AL... i wish to know what property will i use to set the alignment of a cell in excel? for instance, i want to make a certain cell right justfied.
ex. Worksheet.Range('A4').????????
thanks in advance!
Comments
You can see alot of info about any available routine by opening Excel->tools->Macro->Visual Basic Editor->Help->Microsoft Visual Basic Help.
It lists every object and its properties, function. It even has examples sometimes. :whistle:
Arhontis
https://forum.mibuso.com/search
Then go to the visual basic editor as Arhontis described, click through the modules and you will find the recorded macro there in VBA code.
The only thing you have to do then is translate this code into C/AL syntax.
This center justifies the cell. You are using enumerators so 1 or 2 probably right justifies the cell.
Benny Giebens