Can't swap reference style between R1C1 and A1 due to _xlpm.

mookyon

New Member
Joined
Dec 23, 2021
Messages
35
Office Version
  1. 365
Platform
  1. Windows
A 365 worksheet may load fine either @ R1C1 reference style or @ A1 reference style. However, when trying to set or clear the Options\Formulas\R1C1 checkbox, Excel shows a Name Conflict message box with a subtitle “Name cannot resemble a reference”.

Afterwards, many “Old name:”s appear with a prefix of “_xlpm.” and a “New name:” is required.

Some such OLD NAMEs resemble the LET function parameters but not all of them.

When looking at the name manager and the actual formulas, neither “_xlpm.” Nor “_xlfn.” Found.

Any idea pertaining to how to resolve this phenomenon? Please advise.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi & welcome to MrExcel.
You could run this code, which will make all names visible, after which you can delete them from the name manager.
VBA Code:
Sub CleanNames()
   Dim Nm As Name
   For Each Nm In ActiveWorkbook.Names
      Nm.Visible = True
   Next Nm
End Sub
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0
I am not sure it is related to the former issue.

Following making all names visible, I see tens of inaccessible macros using the same names. Names can neither be deleted (greyed out), nor Edited / Run (a message "Reference isn't valid." is generated when Run or Edit is selected).

Can those macro names be removed?
 

Attachments

  • Untitled.png
    Untitled.png
    34 KB · Views: 48
Upvote 0
BTW, at the time the former screen shot was taken: no add-ins, or macro worksheets were involved.
Just a plain 365 xlsm (I have a couple of my own macros including the one Fluff offered earlier in this thread)
 
Upvote 0
Once you delete those names from the name manager & then save & close, they should disappear from the macro list.
 
Upvote 0
OK. Appreciated.
Thanks for the tip.
Had to remove my added VB code. Save as xlsx.
Then reopen (after all macros gone) added my VB code and save as xlsm again.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,575
Messages
6,120,334
Members
448,956
Latest member
Adamsxl

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