Skip to content
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

RunExcelDnaSetDebuggerOptions: open Excel file at launch #677

Open
dubeg opened this issue Feb 19, 2024 · 2 comments
Open

RunExcelDnaSetDebuggerOptions: open Excel file at launch #677

dubeg opened this issue Feb 19, 2024 · 2 comments

Comments

@dubeg
Copy link

dubeg commented Feb 19, 2024

Isn't there a way to load the .xll & open an Excel file at the same time?

I usually add a template Excel file with which I develop my add-in, which I always open when debugging.
If I understand RunExcelDnaSetDebuggerOptions correctly, it overrides the "Excel" profile on every build, so I can't just set add the Excel file to the commandLineArgs there.

So I'm left wondering how other people are doing it, if they are doing it.

@dubeg
Copy link
Author

dubeg commented Feb 19, 2024

Ah, I guess that's still up for grabs: #238

@govert
Copy link
Member

govert commented Feb 19, 2024

If you set

    <RunExcelDnaSetDebuggerOptions>false</RunExcelDnaSetDebuggerOptions>

then the build should not interfere with your debug settings. You can then put both the .xll and your workbook in the command line arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants