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

Error '5' #2

Open
axel7083 opened this issue Oct 15, 2019 · 0 comments
Open

Error '5' #2

axel7083 opened this issue Oct 15, 2019 · 0 comments

Comments

@axel7083
Copy link

axel7083 commented Oct 15, 2019

Hi,

I downloaded the GridBox.xlsm file, and when I launch the UserForm, and play arround it, it crashes with the error '5' Invalid procedure call or argument.

Error

I notice that the bugs appear when I click on a tile. Using debug.print I noticed that it crash when the line " RaiseEvent TileBlured(Tile(Temp)) " is invoke, and the value of "temp" is equal to a value that is not on the screen.
For example, if in the main section there are only file called "main_1, main_2..." and in the tool section "tool_1,tool_2..." and if I click on main_1, then on tool section, then on tool_1 it crash, because temp = main_1.

I fixed it adding :
Grid.ActiveTileName = "" in the SidebarGrid_TileClicked function

Thanks

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

1 participant