Hi
what im doing is creating controls (buttons) at runtime based on data contained in the table..... the data is contained within a listobject and im looping through the rows of this list and comparing data in 3-4 cells to determine whether a control should be placed over each of these cells (up to 3 buttons per row).
i have gone through the usual steps of preventing excel updates (screen updating, events etc etc)
i have also tried various variations of the loop, (using an array(for loop) instead of ranges(for each loop) to check the values)
the table which is currently just for development can reach up to 500 rows which is tiny compared to the real table which may contain 10's of thousands, the dev table is taking around 20-30 seconds to draw these controls and this is just not fast enough... imagine a table 100 times larger.....zzZZZ coffee...more ZZzzz haha
anyway i was wandering if anyone knows a way to create them in bulk or whether having a repository of 100'000 controls waiting somewhere would be OK (i dont like that idea but), i was looking into multi-threading this process but the techniques to do this arnt without problems.
i also tried just formatting cells to look like buttons which actually is a nice workaround however has drawbacks with visualizations (no indication that its a button if you put your cursor on it etc) and still this method is not fast enough (i though about this method pasting to an entire range, still thinking about it
anyone got any ideas?
Thanks
Paul S.
Bookmarks