question

TommyAuYeung-3007 avatar image
0 Votes"
TommyAuYeung-3007 asked Viorel-1 commented

Excel shortcut (Ctrl + Alt + L) error


Hi Microsoft,

When I pressed Ctrl + Alt + L to apply the filter function, the below error message popped up. And it brought me to the VBA when I clicked Debug.
Could you advise how I can resolve this?

Thank you,
Tommy

159838-error-msg.jpg

159878-debug.jpg


office-vba-devoffice-scripts-excel-dev
error-msg.jpg (22.8 KiB)
debug.jpg (149.7 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @TommyAuYeung-3007,
Your problem is related to Office VBA, I changed the tag to office-vba-dev. The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

0 Votes 0 ·

According to the error code and documentation, it seems that the implied control is disabled or invisible. What is "PivotTableInsert"? Maybe Milan could assist too.


0 Votes 0 ·

Hi Viorel-1,

I do not know what "PivotTableInsert" is too. Could I just delete the VBA or Marco? If yes, how?

0 Votes 0 ·
Viorel-1 avatar image Viorel-1 TommyAuYeung-3007 ·

You can put an apostrofe before the shown Application.CommandBars.ExecuteMso "PivotTableInsert". This will comment the line so that it will not be executed. Maybe it is not needed for your filters.


0 Votes 0 ·

1 Answer

OlafHelper-2800 avatar image
0 Votes"
OlafHelper-2800 answered

When I pressed Ctrl + Alt + L to apply the filter function

And by your screenshot it looks like it executes some customer VBA code, which we don't know in detail.
Ask the developer of that code what could be wrong.
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.