ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macros failing when workbook is in shared mode (https://www.excelbanter.com/excel-programming/417725-macros-failing-when-workbook-shared-mode.html)

M Hanlon

Macros failing when workbook is in shared mode
 
I have written a macro that does some sorting and subtotaling. It works
fine, but if I put the workbook into shared mode, it fails, telling me that
"Subtotal Method of Range Class Failed". Any suggestions on how to get it to
work?

Tom Hutchins

Macros failing when workbook is in shared mode
 
Inserting automatic subtotals is one of many features which are unavailable
in shared workbooks. You can view subtotals which were added before the
workbook was put into shared mode. To insert subtotals, you will have to take
the workbook out of shared mode.

Hope this helps,

Hutch

"M Hanlon" wrote:

I have written a macro that does some sorting and subtotaling. It works
fine, but if I put the workbook into shared mode, it fails, telling me that
"Subtotal Method of Range Class Failed". Any suggestions on how to get it to
work?



All times are GMT +1. The time now is 01:58 AM.

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