PB中操作Excel的技巧集 oleobjectsheet longll_row_count,ll_col_count excel1=CREATEOLEObject dd=excel1.connecttonewobject("Excel.Application") IFdd0then messagebox('提示:','您的机器没有安装MicrosoftExcel!',stopsign!)