I use Excel 365 on Windows 10.
I have a Membership database in an Excel workbook. Every so often, using a VBA macro, I copy a worksheet into a new book, remove all code from the copy and update various cell formats. I manually do some editing and remove some rows and columns and then run a macro to remove all external references hanging over from the original book, including named ranges, conditional formats, external links and comments.
The following remain: (properties shown)
Name _xlpm.code _xlfn.SINGLE _xlfn.COUNTIFS _xlfn.CONCAT
Value =#NAME? =#NAME? =#NAME? =#NAME?
Visible FALSE FALSE FALSE FALSE
Macrotype 2 1 1 1
WorkbookParameter FALSE FALSE FALSE FALSE
Creator 1480803660 1480803661 1480803662 1480803663
When I .delete these names I get the possibly spurious error:
"Error 1004 The syntax of this name isn't correct.
Verify that the name:
-Starts with a letter or underscore (_)
-Doesn't include a space or character that isn't allowed
-Doesn't conflict with an existing name in the workbook."
I tested _xlfn.CONCAT and it actually invokes the CONCAT function, so the blighter is real but I don't know how to remove it. These are causing a warning when I save the new workbook "Excel 4.0 function stored in defined names" and asks me if I want to save as an xlsx anyway. This I do. If I reopen it, and save again, there is no warning. So Excel is able to remove the offending macros.
I have never intentionally written an Excel 4.0 macro, so I'm asking for help on locating and removing the offending macros from my master membership database.
I have a Membership database in an Excel workbook. Every so often, using a VBA macro, I copy a worksheet into a new book, remove all code from the copy and update various cell formats. I manually do some editing and remove some rows and columns and then run a macro to remove all external references hanging over from the original book, including named ranges, conditional formats, external links and comments.
The following remain: (properties shown)
Name _xlpm.code _xlfn.SINGLE _xlfn.COUNTIFS _xlfn.CONCAT
Value =#NAME? =#NAME? =#NAME? =#NAME?
Visible FALSE FALSE FALSE FALSE
Macrotype 2 1 1 1
WorkbookParameter FALSE FALSE FALSE FALSE
Creator 1480803660 1480803661 1480803662 1480803663
When I .delete these names I get the possibly spurious error:
"Error 1004 The syntax of this name isn't correct.
Verify that the name:
-Starts with a letter or underscore (_)
-Doesn't include a space or character that isn't allowed
-Doesn't conflict with an existing name in the workbook."
I tested _xlfn.CONCAT and it actually invokes the CONCAT function, so the blighter is real but I don't know how to remove it. These are causing a warning when I save the new workbook "Excel 4.0 function stored in defined names" and asks me if I want to save as an xlsx anyway. This I do. If I reopen it, and save again, there is no warning. So Excel is able to remove the offending macros.
I have never intentionally written an Excel 4.0 macro, so I'm asking for help on locating and removing the offending macros from my master membership database.