Link to home
Start Free TrialLog in
Avatar of mishelper
mishelper

asked on

How to select and bold the whole worksheet with Apache POI

I am a beginner with Apache POI library.

in VBA, I know I can select and bold the whole worksheet with following code

Dim ws As Worksheet
Set ws = ThisWorkbook.Sheets(1)
ws.Cells.Font.Bold = True

May I know how to select and bold the whole sheet by coding with Apache POI library?

thanks
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mishelper
mishelper

ASKER

thanks , appreciate if you can post no matter there is alternative way or not :)
sorry noone knew of a better way