LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Click Event

I have a user form with 2 pages "invoice address" and "delivery address" the
user enters details into some text boxes which then sends info to the
spreadsheet.

On occasion the invoice details and the delivery details are the same so i
added a check box at the bottom of the form end entered the following code:

Private Sub CheckBox1_Click()
If CheckBox1.Value = True Then
TextBox11.Value = TextBox1.Value
textbox12.value=textbox2.value
End If
end sub

thh problem id when you click the box it only filles in textbox11 to get it
to fill in textbox12 you have to click the checkbox again.

Can anyone help?
 
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
Click event on menu item is lost after first time firing of the event [email protected] Excel Programming 1 April 2nd 07 01:25 PM
userform label double-click goes to click event John Paul Fullerton Excel Programming 3 May 19th 06 05:54 PM
On Click Event Craig Excel Programming 3 December 2nd 05 07:26 PM
Click event to run only once gavmer[_92_] Excel Programming 1 October 8th 04 07:23 AM
Click event to run only once gavmer[_91_] Excel Programming 0 October 7th 04 12:07 AM


All times are GMT +1. The time now is 03:39 AM.

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"