top of page
- API -
reaper.AZ_Excel_RenameWorksheet(excelWorksheet, worksheetName)
- API Detail-
▼入力値
excelWorksheet(ExcelWorksheet) : ワークシート
worksheetName(string) : ワークシート名
- SCRIPT -
dofile(reaper.AZ_GetLuaInitPath())
require("reaper_AZSTOKE_GOLD")
doc = reaper.AZ_Excel_OpenFile("D:\\rigdocks\\01_APIDock\\test.xlsx")
val = tostring(reaper.AZ_GetRandomNumInteger(0, 999999))
Msg(val)
worksheet = reaper.AZ_Excel_OpenWorksheet_ByNumber(doc, 1)
reaper.AZ_Excel_RenameWorksheet(worksheet, val)
Msg(reaper.AZ_GetErrorCode())
reaper.AZ_Excel_SaveDocument(doc)
reaper.AZ_Excel_CloseFile(doc)
Excel
AZ_Excel_RenameWorksheet
Supported versions:
1.0.3
onwards
シート名変更
bottom of page