Change font colour in powerpoint

I cannot change the color of text in slide in powerpoint using balareva.Could you please help me in this-New TextShape( vbNewLine + vbNewLine + vbNewLine + vbNewLine + vbNewLine + vbNewLine + Name + vbNewLine + FolderNumber, New ShapeFont("Arial Black ",True,True,False,40,True,True,False)).Me text is coming in white color.Could you please help me how to rectify this? I want black color of text

Hi @Cuberoot

Could you please try this expression?

New TextShape(vbNewLine + vbNewLine + vbNewLine + vbNewLine + vbNewLine + vbNewLine + Name + vbNewLine + FolderNumber, New ShapeFont("Arial Black", True, True, False, 40, True, True, False, System.Drawing.Color.Black))

Hope this helps,
Best Regards.

it shows error-Comma,‘)’,or a valid expression continuation expected.

@Cuberoot

Please check with this updated expression then:

New TextShape(vbNewLine + vbNewLine + vbNewLine + vbNewLine + vbNewLine + vbNewLine + Name + vbNewLine + FolderNumber, New ShapeFont("Arial Black", True, True, False, 40, True, True, False, Drawing.ColorTranslator.FromHtml("#000000")))

Hope this helps,
Best Regards.

it shows error again-overload resolution failed because no accessible new accept “new” accept this number of arguments