-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with Excel Labs Add-In and Minor Bug Fixes #1
Comments
Hello @tchoha, thank you very much for opening the first issue in the repository and for your well-considered remedy code! There were indeed some typos, which I have just fixed in a commit: 5c10a2a. Could you provide more details about the issues with dots in function names when using Excel Labs? Additionally, in which scenarios might the 'A' prefix for function names be inconvenient? |
I just tried using Excel Labs, and it appears they don't allow function names with dots. I don't think this was the case when I developed the library using AFE, otherwise, I would have been alerted about it. Additionally, I realized that we can define names with dots using the traditional Name Manager. In the following screenshot, I was able to define C.TEST.OUTSIDELABS in the traditional Name Manager, and it works. So, maybe it's a bug in Excel Labs that prevents function names from having dots? This is something we could clarify with the Excel Labs team. However, for now, we need to change the function names (e.g., via @tchoha 's code) if we load the text file in Excel Labs. |
I'm still not sure if I fully understand the scenarios. Could you provide an example? |
A simple example is "LET(A, 12345, A.SomeAutoXlFunction() + A)". Sure that "A" can be avoided as a name for anything else, but I believe it is nicer to be able to name(space) your module with whatever prefix one wants. This is possible after the modifications my script does as it removes the hardcoded "A." prefix in internal calls between your functions. Maybe it will be best that we make a Zoom session if you are willing to discuss these matters in more detail. |
Sure, please let me know your email, or you can write to me at [email protected] to arrange a meeting. I ran some tests. I defined
|
First, thank you for creating such a fantastic library! It's been quite useful for me. However, I encountered some issues:
I’ve created a script that resolves the naming issues and fixes the bugs. After running the script, you can import the functions in Excel Labs in a module named according to your needs or preferences.
I’ve attached the script for your reference and would appreciate any feedback or updates. Let me know if I can assist further.
AutoXL - fix.zip
The text was updated successfully, but these errors were encountered: