LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
MBlake
 
Posts: n/a
Default Clear Comboboxes & Textboxes

Hi,
I have a userform containing various VBA controls such as comboboxes,
listboxes and check boxes. I want to provide the option for a user to clear
the form. I have tried the below code but get an error message stating
'Compile error - Sub or Function not defined'

Please can anyone tell me where I am going wrong with this?

Command Button Code -

Private Sub cmdbuttonClear_Click()
Call frmDataEntry_Initialize
End Sub

Thanks for any help,
Mickey


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel: Clear all cell entries EXCEPT formulas? newsgal Excel Discussion (Misc queries) 6 March 18th 06 12:46 AM
need to clear data references in pivot table report Mikeeusa Charts and Charting in Excel 3 April 28th 05 08:57 PM
Button to clear all entries? Randy Excel Worksheet Functions 2 March 26th 05 05:00 PM
offset and clear Kevin Excel Discussion (Misc queries) 1 March 15th 05 02:08 PM
how to clear the recently used files and still keep settings to k. Coco Excel Discussion (Misc queries) 2 December 6th 04 08:41 PM


All times are GMT +1. The time now is 08:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"