Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Sort problem in shared excel file

Hi,

I do have a problem with a shared excel file.

Althought I am single using this shared file I constantly get an error
1004 when I run a macro to sort.

The macro looks like this:

Sub Sorteer()
Range("M11:AE55").Select
Selection.Sort Key1:=Range("M11"), Order1:=xlAscending,
Key2:=Range("N11" _
), Order2:=xlAscending, Header:=xlGuess, OrderCustom:=1,
MatchCase:= _
False, Orientation:=xlTopToBottom
Range("M11").Select
End Sub

The error message is in Dutch but when I translate it should be
something like:

"For this operation all merged cells must have the same size"

In the sort range are no merged cells.
=================
When I do it manualy, with only 2 cells, I get the same error message.

What is my problem???

Thanks in advance

Jan
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
Problem with shared excel file. m0rph Excel Discussion (Misc queries) 7 November 1st 09 05:31 PM
Weird problem with Excel 2000...Worksheets disappearing in a shared Excel file BrianL_SF Excel Discussion (Misc queries) 2 October 10th 06 08:27 PM
Problem Editing Macro in Shared Excel File [email protected] Excel Discussion (Misc queries) 1 March 19th 05 06:43 PM
Problem Editing Macro in Shared Excel File [email protected] Excel Discussion (Misc queries) 0 March 19th 05 06:01 PM
Problem when multipple users access shared xl-file at the same time, macrocode for solve this problem? OCI Excel Programming 0 May 16th 04 10:40 PM


All times are GMT +1. The time now is 04:08 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"