ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Cannot set the row property (https://www.excelbanter.com/excel-programming/402315-cannot-set-row-property.html)

[email protected]

Cannot set the row property
 
Hi All,
I have a userform which has a combobox,there is a code like
userform1.initialize
combobox1.rowsource=("pit") 'pit is a range name
end sub
and there is another code like
optionbutton1_click
combobox1.rowsource=("paiza") ' paiza is a range name
end sub
but if that worksheet open from web page(still in excel),once I click
optionbutton i generates error.I really could not understand why the
rest of the code is workin but cannot renew the source
property.Everything works fine when I open the sheet as a normal excel
file.
Thanks for your help,and please do let me know If I could not explain
clearly.
Regards
baha

JLGWhiz

Cannot set the row property
 
I had trouble getting it to work with the command button on the sheet. But
it worked fine with the button on the userform.

" wrote:

Hi All,
I have a userform which has a combobox,there is a code like
userform1.initialize
combobox1.rowsource=("pit") 'pit is a range name
end sub
and there is another code like
optionbutton1_click
combobox1.rowsource=("paiza") ' paiza is a range name
end sub
but if that worksheet open from web page(still in excel),once I click
optionbutton i generates error.I really could not understand why the
rest of the code is workin but cannot renew the source
property.Everything works fine when I open the sheet as a normal excel
file.
Thanks for your help,and please do let me know If I could not explain
clearly.
Regards
baha



All times are GMT +1. The time now is 07:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com