vba 中 function 和sub区别

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

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

原文地址:https://www.cnblogs.com/dzh1990/p/14652165.html