G
Giri
Hi,
I have a shared workbook. This workbook contains macros.
These macros can be run in a shared workbook & cannot be
viewed/edited. This is fine. The problem is that in my
macro i am selecting a particular row & sorting it. When
the macro is run in the unshared mode it works fine and
the text row is sorted. When the workbook is in shared
mode, i get an error as "1004: This operation requires the
merged cells to be of identical size". I observed that
when a workbook is shared, all rows & columns in a
worksheet are default set as merged in format cells though
an actual merge does not exist when i view the same in the
unshared mode.
1. What change in code can i do in the macro so that i can
sort a particular row in a shared workbook?
2. Is there any other way i can achieve the sort (i cannot
do the sort prior to sharing the file because the data in
the row is dynamic and needs to be sorted when needed)
Any help in this regard is highly appreciated. Thank You.
Regards,
Giri
I have a shared workbook. This workbook contains macros.
These macros can be run in a shared workbook & cannot be
viewed/edited. This is fine. The problem is that in my
macro i am selecting a particular row & sorting it. When
the macro is run in the unshared mode it works fine and
the text row is sorted. When the workbook is in shared
mode, i get an error as "1004: This operation requires the
merged cells to be of identical size". I observed that
when a workbook is shared, all rows & columns in a
worksheet are default set as merged in format cells though
an actual merge does not exist when i view the same in the
unshared mode.
1. What change in code can i do in the macro so that i can
sort a particular row in a shared workbook?
2. Is there any other way i can achieve the sort (i cannot
do the sort prior to sharing the file because the data in
the row is dynamic and needs to be sorted when needed)
Any help in this regard is highly appreciated. Thank You.
Regards,
Giri