SimoneCRV
Guest
Good morning,
someone can explain why the first case doesn't work, but the second one does?
I don't give it out, thank you. o
1stcase
select houses swsubdim.name
houses is = "h_terra": swsubdim.value = userform1.h_terra
end select
2ndcase
if swsubdim.name = "h_terra" then
swsubdim.value = userform1.h_terra
end if
considering that I have a lot of odds to check, I didn't want you to pass all by if, a select case seemed faster
someone can explain why the first case doesn't work, but the second one does?
I don't give it out, thank you. o
1stcase
select houses swsubdim.name
houses is = "h_terra": swsubdim.value = userform1.h_terra
end select
2ndcase
if swsubdim.name = "h_terra" then
swsubdim.value = userform1.h_terra
end if
considering that I have a lot of odds to check, I didn't want you to pass all by if, a select case seemed faster
Last edited: