+ Reply to Thread
Results 1 to 3 of 3

Treeview control randomly deleted itself

  1. #1
    Registered User
    Join Date
    07-24-2015
    Location
    Toledo, OH
    MS-Off Ver
    Microsoft Office 2010
    Posts
    85

    Treeview control randomly deleted itself

    Hi all,

    I have a very complex database set up that is meant to track all the training that happens in our workplace. It has a ton of userforms in it, including one that has two different treeviews on it.

    This morning a user emailed me and told me this particular userform wasn't working. I checked it out and discovered that both treeview controls had been deleted somehow. I have my code password-protected and locked, and nobody in my building understands VBA except me anyway, so how on earth did this happen? Has anyone had a treeview just randomly disappear before? I know my listboxes on the various userforms are constantly resizing themselves, and I had to put code into the initialize command to resize them every time they're viewed, but I've never had a control flat-out disappear.

    Should I just write code to create the treeview every time, rather than trusting it to stay put? It creates some serious problems when it's not there. Thoughts?

  2. #2
    Registered User
    Join Date
    07-24-2015
    Location
    Toledo, OH
    MS-Off Ver
    Microsoft Office 2010
    Posts
    85

    Re: Treeview control randomly deleted itself

    I would like to add to this that other odd things have happened with this database. For example, listboxes on userforms have resized themselves. And it's not like they resized themselves at runtime, either: I've opened the things in design mode and they are changed there as well. Nobody else has access to design mode in this workbook, and no one at my workplace is capable of doing that anyway. Most of them don't even know how to build a table! And then today, I opened the workbook and discovered it had deleted a monthview calendar out of nowhere. This was in my backup copy of the workbook, which nobody uses but me, and I sure as heck didn't delete it, so clearly the workbook is doing it to itself. It's like the thing is possessed! Has anyone else seen anything like this??

  3. #3
    Registered User
    Join Date
    07-24-2015
    Location
    Toledo, OH
    MS-Off Ver
    Microsoft Office 2010
    Posts
    85

    Re: Treeview control randomly deleted itself

    I was just looking over the database again. The treeviews on every userform have re-deleted themselves. All of the monthview calendars on every userform have deleted themselves. And all of the listboxes on every userform have resized themselves so you can only see the first selection when you look at them. WHAT IS GOING ON?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Treeview Control
    By adam2308 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-16-2012, 10:51 AM
  2. Icons in TreeView Control
    By jfmorales in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-27-2011, 02:37 PM
  3. TreeView Control Portability
    By jfmorales in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-21-2011, 01:27 PM
  4. How to use a Treeview control in a UserForm
    By rich534714 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-19-2007, 10:46 AM
  5. TreeView Control Shifting Leftwards
    By ss2 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-07-2006, 03:13 AM
  6. How to use TreeView control
    By Dennis in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-01-2006, 02:40 PM
  7. [SOLVED] [SOLVED] VBA Form MS Treeview Control v.6
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-2006, 01:15 PM
  8. Treeview Control
    By Manfred Senn in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-12-2005, 04:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1