Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 171
Default copy data to combobox value sheet

I have a userform, with a combobox ,its list values are sheets names of
activeworkbook.it has 4 textboxes(input) ,after inputting data in these
boxes,the values be copied to (combobox1.vaue)w/sheet last row.I am using
line code
worksheets(.combobox1.value).activate
Range("A1").select
Do
then the code follows to find last empty cell.
When I run this sub I am getting error 'object required'.
How to select Combobox1.value sheet?what is line of code?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default copy data to combobox value sheet

Sheets("Sheet1").OLEObjects("combobox1").Object.Ad dItem "abc"


"TUNGANA KURMA RAJU" wrote:

I have a userform, with a combobox ,its list values are sheets names of
activeworkbook.it has 4 textboxes(input) ,after inputting data in these
boxes,the values be copied to (combobox1.vaue)w/sheet last row.I am using
line code
worksheets(.combobox1.value).activate
Range("A1").select
Do
then the code follows to find last empty cell.
When I run this sub I am getting error 'object required'.
How to select Combobox1.value sheet?what is line of code?


Reply
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
copy rows from one Data sheet to another sheet based on cell conte John McKeon Excel Discussion (Misc queries) 2 May 15th 10 06:49 AM
Fill combobox from data in different sheet Spike Excel Programming 2 April 27th 07 02:20 PM
How can i copy data from a tabbed working sheet to a summary sheet StephenF Excel Discussion (Misc queries) 1 March 15th 07 03:40 PM
Combobox data accidentally copied on different sheet BenD[_2_] Excel Programming 0 April 18th 05 09:47 PM
User Form-error 1004 unless opened in sheet w/combobox data dpaulos[_2_] Excel Programming 2 January 27th 04 03:25 AM


All times are GMT +1. The time now is 10:48 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"