#1   Report Post  
Posted to microsoft.public.excel.programming
new new is offline
external usenet poster
 
Posts: 1
Default row source

Private Sub UserForm_Initialize()
ComboBox1.RowSource = "DATA 1!it3:DATA 1!it4"
End Sub

error:
runtime error 380
could not set the rowsource property.Invalid property
value.

current:
"DATA 1!it3:DATA 1!it4" are not empty.

Pls help.
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default row source

combobox1.rowsource = 'data 1'!$IT$3:$IT$4

works for me... winxp excel2000



-----Original Message-----
Private Sub UserForm_Initialize()
ComboBox1.RowSource = "DATA 1!it3:DATA 1!it4"
End Sub

error:
runtime error 380
could not set the rowsource property.Invalid property
value.

current:
"DATA 1!it3:DATA 1!it4" are not empty.

Pls help.
Thanks
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default row source

sorry, forgot the ""
this is correct

ComboBox1.RowSource = "'DATA 1'!$IT$3:$IT$4"


-----Original Message-----
Private Sub UserForm_Initialize()
ComboBox1.RowSource = "DATA 1!it3:DATA 1!it4"
End Sub

error:
runtime error 380
could not set the rowsource property.Invalid property
value.

current:
"DATA 1!it3:DATA 1!it4" are not empty.

Pls help.
Thanks
.

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
Source and Destination Malcolm Excel Worksheet Functions 1 June 2nd 10 09:20 PM
Update source in VBA Lost Excel Discussion (Misc queries) 7 April 28th 09 04:46 AM
Pivot Table data source "data source contains no visible tables" Jane Excel Worksheet Functions 0 September 29th 05 08:28 PM
From Target to Source Steved Excel Worksheet Functions 1 June 10th 05 05:28 AM
How can i set the source-data-range of pivottable2 to the source . Piet Excel Discussion (Misc queries) 0 March 5th 05 09:31 PM


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