LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default VBA Clear Screen

I am trying on a VBA form to clear the screen leaving blank variables. The
screen does clear fine. The problem I am running into is that one of the
fields being cleared is the product list selection. After the clear screen,
the product list add the list of products to the existing list so the
products are now displayed twice. Clear the screen again and the product
list is displayed three times. Any ideas on why this is happening.

Private Sub ClearButton1_Click()
Prqty.Text = ""
PrComboBox.Value = "Select a Product"
PrMSRP.Text = ""
Prwholesale.Text = ""
Pronline.Text = ""
End Sub

Doobage


 
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
Create a Clear button to clear unprotected cells Jcraig713 Excel Programming 2 November 26th 07 03:55 PM
clear the clear the web page email attachment lines MCrider Excel Discussion (Misc queries) 0 November 11th 07 10:05 PM
MsgBox taking a long time to clear from screen [email protected] Excel Programming 2 September 20th 06 01:56 PM
Screen does not clear when exit Excel after editing. eelrjm1 Excel Discussion (Misc queries) 1 January 12th 05 11:50 PM
How to clear a form from the screen GordonNewBie Excel Programming 1 December 13th 04 07:10 PM


All times are GMT +1. The time now is 06:13 PM.

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

About Us

"It's about Microsoft Excel"