Skip to content

is it possible to use stdenumerator for alternative to yield python code #111

Answered by JurassicPork
JurassicPork asked this question in Q&A
Discussion options

You must be logged in to vote

sancarn
In answer to your question you can't do any type of yield in VBA, as it would basically require hacking the runtime. It's possible we could add something like a yield to stdLambda but this isn't a current field I'm afraid.

Thanks for this answer. So don't spend more time on this problem. I have found another solution --> i have written a function in csharp language (yield exists in this language) and use Excel-Dna to call it and get the solution in VBA. Under one second to have the solution.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
7 replies
@sancarn
Comment options

@JurassicPork
Comment options

@JurassicPork
Comment options

@JurassicPork
Comment options

Answer selected by JurassicPork
@sancarn
Comment options

Comment options

You must be logged in to vote
3 replies
@sancarn
Comment options

@JurassicPork
Comment options

@sancarn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants