ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Assigning Style to ActiveCell which is part of Merged Cells (https://www.excelbanter.com/excel-programming/282508-assigning-style-activecell-part-merged-cells.html)

Paul Martin

Assigning Style to ActiveCell which is part of Merged Cells
 
Hi all

- I have a named range that comprises several cells merged as one, eg A1:D1
- Consequently, if this cell is selected, ActiveCell.Address = "A1"
- When a user double-clicks this cell, I want to change the Style property of
the cell
- To do this, I need to apply the Style to A1:D1, and not just the ActiveCell
- Can anyone please suggest how I can capture the address of the merged cell,
given ActiveCell?

Thanks in advance

Paul Martin
Melbourne, Australia


All times are GMT +1. The time now is 06:25 PM.

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