I want to make an Excel-document from my FWH-application.
I need to align the cells in my Excel document.
To achieve tha, I try this :
- Code: Select all Expand view RUN
- /* Explanation cPos :
cPos = 0 -> Standaad alignement
cPos = 1 -> Left alignement
cPos = 2 -> Centered
cPos = 3 -> Right alignement
cPos = 4 -> Left + right alignement
*/
oSheet:Range("A1"):HorizontalAlignment := cPos
What do I do wrong?
Does anyone have another suggestion?
Thanks a lot in advance for any help.