ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Convert merged cells to centered across (https://www.excelbanter.com/excel-programming/353248-convert-merged-cells-centered-across.html)

XP

Convert merged cells to centered across
 
I am using Office 2003 on Windows XP.

I need a VBA function I can call that visits every cell in the active sheet
and converts any merged cells to "center across selection" instead.
Obviously, I need it to run quickly.

Can someone please post example code to accomplish this?

Thanks much in advance.

XP

Convert merged cells to centered across
 
Nevermind. I managed to work out the code.

"XP" wrote:

I am using Office 2003 on Windows XP.

I need a VBA function I can call that visits every cell in the active sheet
and converts any merged cells to "center across selection" instead.
Obviously, I need it to run quickly.

Can someone please post example code to accomplish this?

Thanks much in advance.



All times are GMT +1. The time now is 12:37 AM.

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