This action won't work on multiple selections.... But no multiple selections selected ?!?

velohead

Board Regular
Joined
Aug 22, 2007
Messages
205
Hi All,



Excel 2016



I have received a spreadsheet containing 10 visible sheets, 14 hidden sheets, and 1 very hidden sheet.

I have unhidden all sheets, and selected cell A1 in all sheets, ensuring those cells are not merged cells.

I save the file, then try to add a new sheet. I am unable to add a new sheet, with the error message as follows.. This action won't work on multiple selections.



OK, how to I debug this ? Anyone had this problem, or know the cause.

I assume no sheets are protected (is there a VBA code to check this ?)

I also assume the workbook is not protected (is there a VBA code to check this ?)

Only single sheets are selected.

Only single cells are selected.



Thank You Hive Mind.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
1- Try to close workbook, then open again.
2- Is there macros on the workbook? if then, try to post here
3- Alt-F11/insert module, run this code:
VBA Code:
Option Explicit
Sub test()
Debug.Print Selection.Count
Debug.Print Selection.Address
End Sub
What is printed out in lower immediate window?
 
Upvote 0
Thanks for replying, bebo021999.

No macro in the file, as it is a .xlsx

I have converted the file to .xlsx, added the code above, results in the immediate window are....
1
$A$1

I presume that does the first worksheet, and that I have to run for each sheet. Is that correct ?
 
Upvote 0
I presume that does the first worksheet, and that I have to run for each sheet. Is that correct ?
I have run the macro in each worksheet, and the count of selection is 1 in every case.


Edit..
And I tried adding a sheet to .xlsm and it works !!!
 
Last edited:
Upvote 0
PROBLEM FIXED !!!!

as you say, save file, close, reopen, add sheet - this works.
 
Upvote 0

Forum statistics

Threads
1,215,139
Messages
6,123,262
Members
449,093
Latest member
Vincent Khandagale

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top