Font object (Excel)
Contains the font attributes (font name, font size, color, and so on) for an object.
Remarks
If you don't want to format all the text in a cell or graphic the same way, use the Characters property of the Range object to return a subset of the text.
Example
Use the Font property to return the Font object. The following example formats cells A1:C5 as bold.
Worksheets("Sheet1").Range("A1:C5").Font.Bold = True
Properties
- Application
- Background
- Bold
- Color
- ColorIndex
- Creator
- FontStyle
- Italic
- Name
- Parent
- Size
- Strikethrough
- Subscript
- Superscript
- ThemeColor
- ThemeFont
- TintAndShade
- Underline
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기