Closed bitterjug closed 4 years ago
That is a good point. The format function should be renamed. Any suggestions for a short and clear name? Maybe 'FormatVba()'.
For now, just use the fully qualified name i.e. ModuleName.FunctionName() to call the function. That will always work as expected.
What about FormatActiveCodePane ?
Certainly not short by quite clear.
I hope you will fix this soon. gkuenzli's suggestion is fine: it doesn't need to be short, it only needs to not collide with the standard function. I can change it in my local copy, but it seems better to just fix it in the baseline.
please look at the patch https://github.com/hilkoc/vbaDeveloper/pull/43 above
Formatter module contains
public sub format()
. Excel has a built-in function calledFormat
. if I add a reference to your project (so I can callexportVbProject
) I my calls to the latter are mistaken for calls to the former which causes errors.