LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Excel developers mindset

I am still trying to understand the thinking behind certain things in VBA.

Can anyone explain why to make a cell bold and italic the following is done:

Range("A1").Font.Bold = True
Range("A1").Font.Italic = True

Rather than:

Range("A1").Font = xlBold + xlItalic

I can see that Bold is just one of the properties of the font and you either
switch it on or off. So the way it is implemented is absolutely logical. But
why is the other way of doing it illogical then?

Geoff






 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What about 'Manual' is it that Microsoft Developers don't understa msnyc07 Excel Discussion (Misc queries) 3 February 4th 10 09:55 PM
Excel Addin Developers XZAKT Media, Australia Excel Programming 0 August 7th 03 02:35 PM


All times are GMT +1. The time now is 05:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"