ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Hilite merged cells (https://www.excelbanter.com/excel-discussion-misc-queries/110858-hilite-merged-cells.html)

Dave

Hilite merged cells
 
Hi,
Does anyone out there know how to modify Chip Pearson's (excellent)
Hilite code so that it will work in merged columns D-M to highlight the
active cell but then not affect any other columns when the acctive cell
is outside thos columns?

TIA,

Dave


Jim Cone

Hilite merged cells
 
Dave,
I would say that most experienced programmers avoid using merged cells.
They became experienced by using merged cells.
"Center Across Selection" does the same as merging in most cases...
Worksheets(2).Range("D1:M100").HorizontalAlignment = xlCenterAcrossSelection
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"Dave"
wrote in message
Hi,
Does anyone out there know how to modify Chip Pearson's (excellent)
Hilite code so that it will work in merged columns D-M to highlight the
active cell but then not affect any other columns when the acctive cell
is outside thos columns?
TIA,
Dave



All times are GMT +1. The time now is 06:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com