Alignement in Excel (solved)
Posted: Sun Oct 27, 2019 3:23 pm
Hello,
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 :Unfortunately, nothing is changing.
What do I do wrong?
Does anyone have another suggestion?
Thanks a lot in advance for any help.
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
/* 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.