Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 407
Default Merged cells

I am having one of those problems with copying from one sheet and edit paste special values to another sheet. It says merged cells are not identically sized. So, I am trying to find and clear all merged cells, though I want to know which they are.

Can someone tell me how to identify which cells are merged? I tried deleting rows and columns but they seem to be in multiple places, so this method is not working well.

Thanks!
Dean
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Merged cells

Dean

CTRL + a(twice in 2003) to select all cells.

FormatCellsAlignment.

Uncheck "merged cells"


Gord Dibben MS Excel MVP

On Tue, 12 Sep 2006 16:11:55 -0700, "Dean" wrote:

I am having one of those problems with copying from one sheet and edit paste special values to another sheet. It says merged cells are not identically sized. So, I am trying to find and clear all merged cells, though I want to know which they are.

Can someone tell me how to identify which cells are merged? I tried deleting rows and columns but they seem to be in multiple places, so this method is not working well.

Thanks!
Dean


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Merged cells

Sub AA()
Dim cell As Range
For Each cell In ActiveSheet.UsedRange
If cell.MergeArea.Count 1 Then
If cell.Address = cell.MergeArea(1).Address Then
MsgBox cell.Address & " area: " & cell.MergeArea.Address
End If
End If
Next
End Sub

--
Regards,
Tom Ogilvy




"Dean" wrote in message
...
I am having one of those problems with copying from one sheet and edit paste
special values to another sheet. It says merged cells are not identically
sized. So, I am trying to find and clear all merged cells, though I want to
know which they are.

Can someone tell me how to identify which cells are merged? I tried
deleting rows and columns but they seem to be in multiple places, so this
method is not working well.

Thanks!
Dean


Reply
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
Copy paste non merged to merged cells [email protected] Excel Worksheet Functions 1 February 5th 09 05:25 PM
How can I sort an Excel Doc containing merged & non-merged cells? KellyH Excel Discussion (Misc queries) 11 June 10th 08 04:12 AM
Autofit Merged cell Code is changing the format of my merged cells JB Excel Discussion (Misc queries) 0 August 20th 07 02:12 PM
how do i link merged cells to a merged cell in another worksheet. ibbm Excel Worksheet Functions 3 April 27th 06 11:40 PM
Sorting merged cellsHow do I sort merged cells not identically siz Laval Excel Worksheet Functions 1 November 3rd 04 09:40 PM


All times are GMT +1. The time now is 11:17 PM.

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

About Us

"It's about Microsoft Excel"