79287209

Date: 2024-12-17 08:56:30
Score: 8.5 🚩
Natty: 5
Report link

Hi I have the same problem i managed to solve it using copilot help.

You cannot set it to False as this font property .bold and .italic uses the tristate boolean.

to set to false you need to assign .bold = msoFalse

microsoft have anthose set of enum for these and they are msoFalse and msoTrue https://learn.microsoft.com/en-us/office/vba/api/overview/library-reference

try search for this "MsoTriState enumeration (Office)" to learn more .

Cheers Clement

Reasons:
  • Blacklisted phrase (1): Cheers
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (2): Hi I have the
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Clement Lo