Bekijk de onderstaande video om te zien hoe je onze site als een web app op je startscherm installeert.
Opmerking: Deze functie is mogelijk niet beschikbaar in sommige browsers.
With Application.FileDialog(msoFileDialogSaveAs)
.FilterIndex = 1
.InitialFileName = FILENAME1
.Title = "Opslaan als"
[COLOR=#ff0000] If .Show = 0 Then[/COLOR]
[COLOR=#ff0000] ActiveWorkbook.Close False[/COLOR]
[COLOR=#ff0000] Exit Sub[/COLOR]
[COLOR=#ff0000] Else[/COLOR]
[COLOR=#ff0000] .Execute[/COLOR]
[COLOR=#ff0000] End If[/COLOR]
End With
Sub SAVE_AS()
Dim FILENAME1 As String
Dim sh As Worksheet
FILENAME1 = Join(Array(Range("P8"), Range("Q8"), Range("I9"), Range("I13"), Range("I29"), Range("I30")), "-")
Sheets(Array("DECLARATION OF HEAT TREATMENT", "CHART STICKER")).Copy
ActiveWindow.Activate
With Application.FileDialog(msoFileDialogSaveAs)
.InitialFileName = "c:\users\x\documents\"
.FilterIndex = 1
.InitialFileName = FILENAME1
.Title = "Opslaan als"
If .Show = 0 Then
ActiveWorkbook.Close False
Exit Sub
Else
.Execute
End If
End With
With ActiveWorkbook
ActiveSheet.Unprotect "1212"
For Each sh In .Sheets
Select Case LCase(sh.Name)
Case "declaration of heat treatment"
sh.Shapes.Range(Array("Button 1", "Button 2", "Button 3", "Button 4", "Button 5")).Delete
Case "CHART STICKER"
sh.Shapes.Range(Array("KNOP 2", "KNOP 3")).Delete
End Select
ActiveSheet.Protect "1212"
Next sh
End With
End Sub
sh.Shapes.Range(Array("Knop 2", "Knop 3")).Delete
We gebruiken essentiële cookies om deze site te laten werken, en optionele cookies om de ervaring te verbeteren.