PC Review


Reply
Thread Tools Rate Thread

copy from combobox to worksheet

 
 
antonvanelteren
Guest
Posts: n/a
 
      26th Aug 2009
I have programmed a few simple lines:

Private Sub ComboBox1_Change()
ComboBox1.Copy
ActiveSheet.Paste Destination:=Worksheets("RRS-FI tool").Range("G26:G26")
End Sub

The idea is that when I copy the (new) content of the ComboBox, the content
will be pasted in cell G26 of the worksheet. However, not the value of the
ComboBox is pasted, but another ComboBox.

If I look at the Clipboard, it is already a picture, not a value, although
the help text suggests that when copying from a ComboBox, the content value
is copied.

Any way to repair this?

Thanks! Anton
 
Reply With Quote
 
 
 
 
Patrick Molloy
Guest
Posts: n/a
 
      26th Aug 2009
Private Sub ComboBox1_Change()
Range("G26") = Combobox1.Value
End Sub



"antonvanelteren" wrote:

> I have programmed a few simple lines:
>
> Private Sub ComboBox1_Change()
> ComboBox1.Copy
> ActiveSheet.Paste Destination:=Worksheets("RRS-FI tool").Range("G26:G26")
> End Sub
>
> The idea is that when I copy the (new) content of the ComboBox, the content
> will be pasted in cell G26 of the worksheet. However, not the value of the
> ComboBox is pasted, but another ComboBox.
>
> If I look at the Clipboard, it is already a picture, not a value, although
> the help text suggests that when copying from a ComboBox, the content value
> is copied.
>
> Any way to repair this?
>
> Thanks! Anton

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending copy worksheet to mailrecipient - mail adress indicated incell in worksheet Snoopy Microsoft Excel Discussion 1 19th Aug 2009 12:51 PM
Unable to Insert Worksheet/Move and copy worksheet Excel 2003 lukerush Microsoft Excel Worksheet Functions 4 7th Sep 2006 05:05 PM
Unable to Insert Worksheet/Move and copy worksheet Excel 2003 lukerush Microsoft Excel Worksheet Functions 0 7th Sep 2006 03:37 PM
copy range on every worksheet (diff names) to a master worksheet (to be created) Bernie Microsoft Excel Programming 0 22nd Sep 2004 03:26 PM
Copying Worksheet triggers Click event of combobox on another worksheet Robert Microsoft Excel Programming 0 23rd Jan 2004 07:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:59 AM.