Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Om en Excel-fil innehåller dolda kalkylblad replikerar du följande steg för att göra dem synliga:
Använd åtgärden Ange variabel om du vill skapa en ny variabel som innehåller sökväg för respektive Excel-fil. I det här exemplet heter variabel ExcelFile.
Distribuera åtgärden Kör VBScript och fyll i följande kod.
'Opens the Excel file' Set objExcel = CreateObject("Excel.Application") Set objWorkbook = objExcel.Workbooks.Open("%ExcelFile%") objExcel.Application.Visible = True 'Unhides all the worksheets of the Excel file' For i=1 To objWorkbook.Sheets.Count objWorkbook.Sheets(i).Visible = True Next 'Saves and closes the Excel file' objWorkbook.Save objWorkbook.Close SaveChanges = True