align single cell in msflexgrid

User avatar
sal21
PlatinumLounger
Posts: 4402
Joined: 26 Apr 2010, 17:36

align single cell in msflexgrid

Post by sal21 »

this is a part of loop:
...
.TextMatrix(R, 3) = Format(STRDBROWS(3, K), "#,##0")
...

hpe to align the single cell text to the right?

User avatar
HansV
Administrator
Posts: 78794
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: align single cell in msflexgrid

Post by HansV »

Does this work?

Code: Select all

        .Row = R
        .Col = 3
        .CellAlignment = flexAlignRightCenter
Best wishes,
Hans

User avatar
sal21
PlatinumLounger
Posts: 4402
Joined: 26 Apr 2010, 17:36

Re: align single cell in msflexgrid

Post by sal21 »

HansV wrote:
16 May 2024, 10:26
Does this work?

Code: Select all

        .Row = R
        .Col = 3
        .CellAlignment = flexAlignRightCenter
GREAT, bro.
work