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

Empty .Items returns array of type Variant/String #26

Open
omegastripes opened this issue Oct 28, 2019 · 3 comments
Open

Empty .Items returns array of type Variant/String #26

omegastripes opened this issue Oct 28, 2019 · 3 comments

Comments

@omegastripes
Copy link

omegastripes commented Oct 28, 2019

Empty Scripting.Dictionary .Items returns empty array of type Variant/Variant in VBA, I use the array later to ReDim Preserve it and assign objects to it's elements.
Empty VBA-Dictionary .Items returns empty array of type Variant/String, it makes impossible to assign an object to it after ReDim.

@nectorprime
Copy link

nectorprime commented Oct 29, 2019 via email

@omegastripes
Copy link
Author

Hi, thanks for the reply,

As I wrote I do use ReDim with simple array in my VBA code, it is quite enough for my application, and it works as it should. So I don't want to use Recordsets etc.

It works with no issues with Scripting.Dictionary. Now I tried VBA-Dictionary and found some difference, that is why I reported here.

@timhall
Copy link
Member

timhall commented Oct 29, 2019

Hi @omegastripes, thanks for raising this issue. The goal is as close to 100% compatibility as I can get, so it’s definitely appreciated. I’ll take a look and see what I can find

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

3 participants