Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
tvanellen
 
Posts: n/a
Default how can I find merged cells in a large xl-file

I received a large xl-file, in which I want to execute some sorting
operations. However, I get the error message that "this operation requires
the merged cells to be identically sized". I guess some cells are merged, but
does anybody know how I can quickly find the merged cells?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ardus Petus
 
Posts: n/a
Default how can I find merged cells in a large xl-file

Sub showMerged()
Dim cell As Range
For Each cell In ActiveSheet.UsedRange.Cells
If cell.MergeCells Then
MsgBox "cell " & cell.Address & vbLf & _
"Merge area: " & cell.MergeArea.Address
End If
Next cell
End Sub

HTH
--
AP

"tvanellen" a écrit dans le message de
...
I received a large xl-file, in which I want to execute some sorting
operations. However, I get the error message that "this operation requires
the merged cells to be identically sized". I guess some cells are merged,

but
does anybody know how I can quickly find the merged cells?



  #3   Report Post  
Posted to microsoft.public.excel.misc
hai6734
 
Posts: n/a
Default how can I find merged cells in a large xl-file

the simple way is:
- select all cells of the table which you want to sort data;
- click menu Format \ Cell, and unchecked the Merge cell in Alignment tab

now you can use sorting function ok

"tvanellen" wrote:

I received a large xl-file, in which I want to execute some sorting
operations. However, I get the error message that "this operation requires
the merged cells to be identically sized". I guess some cells are merged, but
does anybody know how I can quickly find the merged cells?

  #4   Report Post  
Posted to microsoft.public.excel.misc
tvanellen
 
Posts: n/a
Default how can I find merged cells in a large xl-file

thanx

"Ardus Petus" wrote:

Sub showMerged()
Dim cell As Range
For Each cell In ActiveSheet.UsedRange.Cells
If cell.MergeCells Then
MsgBox "cell " & cell.Address & vbLf & _
"Merge area: " & cell.MergeArea.Address
End If
Next cell
End Sub

HTH
--
AP

"tvanellen" a écrit dans le message de
...
I received a large xl-file, in which I want to execute some sorting
operations. However, I get the error message that "this operation requires
the merged cells to be identically sized". I guess some cells are merged,

but
does anybody know how I can quickly find the merged cells?




  #5   Report Post  
Posted to microsoft.public.excel.misc
tvanellen
 
Posts: n/a
Default how can I find merged cells in a large xl-file

thanx

"hai6734" wrote:

the simple way is:
- select all cells of the table which you want to sort data;
- click menu Format \ Cell, and unchecked the Merge cell in Alignment tab

now you can use sorting function ok

"tvanellen" wrote:

I received a large xl-file, in which I want to execute some sorting
operations. However, I get the error message that "this operation requires
the merged cells to be identically sized". I guess some cells are merged, but
does anybody know how I can quickly find the merged cells?



  #6   Report Post  
Posted to microsoft.public.excel.misc
Vivian H.
 
Posts: n/a
Default how can I find merged cells in a large xl-file

IThank You! i knew there had to be a select all option yet couldn't figure it
out. This has solved many times of turmoil.
Vivian H.

"hai6734" wrote:

the simple way is:
- select all cells of the table which you want to sort data;
- click menu Format \ Cell, and unchecked the Merge cell in Alignment tab

now you can use sorting function ok

"tvanellen" wrote:

I received a large xl-file, in which I want to execute some sorting
operations. However, I get the error message that "this operation requires
the merged cells to be identically sized". I guess some cells are merged, but
does anybody know how I can quickly find the merged cells?

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
clicking .XLS file opens Excel 2003 but doesn't find the file Arrow Computer Excel Discussion (Misc queries) 2 August 10th 05 03:51 AM
Getting Excel to treat merged cells as one cell when printing postitnote100 Excel Discussion (Misc queries) 1 June 24th 05 07:13 PM
paste special | values should work with merged cells PastingSpecial Excel Discussion (Misc queries) 1 June 20th 05 06:51 PM
Merged Cells TerryTutor Excel Discussion (Misc queries) 1 June 14th 05 05:17 AM
getting msg: cannot sort merged cells not same size help with mas data Excel Discussion (Misc queries) 1 May 25th 05 09:19 PM


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

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"