Excel VBA 質問スレ Part40 [無断転載禁止]©5ch.io
■ このスレッドは過去ログ倉庫に格納されています
0334デフォルトの名無しさん
2016/03/08(火) 22:18:39.27ID:Murbzmcdif not 条件1 then
go to continue
end if
if not 条件2 then
go to continue
end if
if not 条件3 then
go to continue
end if
continue:
next i
function hogehoge()
if 条件1 then
hogehoge = fugafuga
exit function
end if
if 条件2 then
hogehoge = fugafuga
exit function
end if
end function
平気でgoto文使ってるわ…
continue文とreturn文、OrElseAndAlso条件式vbaにも欲しいよー
■ このスレッドは過去ログ倉庫に格納されています