vba 中 function 和sub区别

function可以返回值,sub不可以返回值

sub可以直接执行,function需要调用

posted on 2021-04-13 10:54  dzh1990  阅读(627)  评论(0编辑  收藏  举报