![]() |
#1
|
|||
|
|||
![]()
Excel 2002
On a userform I have some Textboxes, listboxes, etc that I want to set .value=empty Currently I do it by 'clear some values Code:
TSEFAN.Value = empty TSEFPD.Value = empty TSEFAP.Value = empty Code:
Sub controlempty(formname As MSForms) 'pass form name to use Dim cCont As Control For Each cCont In formname .Value = Empty Next cCont End Sub Code:
controlempty ADDCORT get error "Expected user-defined type, not project" Help Thanks Last edited by Cbrehm; 05-10-2011 at 05:02 AM. Reason: More info |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
verbster | Word | 11 | 03-06-2011 04:05 PM |
![]() |
cksm4 | Word VBA | 2 | 03-01-2011 12:46 PM |
![]() |
WaltR | Drawing and Graphics | 1 | 02-11-2011 02:47 PM |
![]() |
designer | PowerPoint | 1 | 01-03-2011 07:11 AM |
Can't Download Controls | BillTheAdmin | Project | 2 | 12-05-2005 10:20 AM |