宣告Worksheet型的物件變數. Dim ws As Worksheet. '將工作表Sheet1儲存在變數. Set ws = Worksheets(“sheet1”). '輸出工作表名稱. MsgBox ws.Name.
確定! 回上一頁