Re: UserForm TextBoxes (with ControlSource set) won't clear in one click
From: Bob Phillips (bob.phillips_at_notheretiscali.co.uk)
Date: 03/02/05
- Next message: Greg B...: "Re: Calender Help"
- Previous message: john.9.williams_at_bt.com: "error message with userforms"
- In reply to: Paul Martin: "UserForm TextBoxes (with ControlSource set) won't clear in one click"
- Next in thread: Paul Martin: "Re: UserForm TextBoxes (with ControlSource set) won't clear in one click"
- Reply: Paul Martin: "Re: UserForm TextBoxes (with ControlSource set) won't clear in one click"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 2 Mar 2005 11:04:07 -0000
There is no issue. If the ControlSource property is set, they pick up the
value from that cell.
You could just clear the cells in that one button action, the textboxes will
fall in line.
-- HTH RP (remove nothere from the email address if mailing direct) "Paul Martin" <pmartin1960@hotmail.com> wrote in message news:324f58a4.0503020238.5c16f805@posting.google.com... > Hi all > > I have a UserForm with various controls (textboxes, listbox, > checkboxes, etc) that I wish to clear with one button, and populate > with default values with another button. > > This all works fine ONLY IF the textboxes do not have their > ControlSource property set. When the textbox have a ControlSource > property set, clicking a button will work for only one control at a > time. In other words, if there's 6 controls to either clear or > populate, it takes 6 clicks to work. > > I've not been able to find any solution on the newsgroups, nor on > Microsoft's Knowledge Base. Does anyone else know of this issue, and > perhaps a solution? I'm using Excel XP but it's the same on Excel > 2000. > > Regards > > Paul Martin > Melbourne, Australia
- Next message: Greg B...: "Re: Calender Help"
- Previous message: john.9.williams_at_bt.com: "error message with userforms"
- In reply to: Paul Martin: "UserForm TextBoxes (with ControlSource set) won't clear in one click"
- Next in thread: Paul Martin: "Re: UserForm TextBoxes (with ControlSource set) won't clear in one click"
- Reply: Paul Martin: "Re: UserForm TextBoxes (with ControlSource set) won't clear in one click"
- Messages sorted by: [ date ] [ thread ]