Hello
The following problem. I have PALO.DATAC formulas in my sheets. PALO.DATA is not, as too slow.
I must first let the macro “Companydruck_pdf “run and after Macro “Region_SWE_pdf”. In between, the data must be calculated fresh (F9) are.
How does it work with Application.Run. For me it does not work! Please help.
The Code:
Sub Companydruck_pdf()
Dim Pfad As String
Sheets("KEY DATA").Select
ChDir "C:\Users\Feldmann_S\Desktop"
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
Pfad, Quality:=xlQualityStandard, _
IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:= _
True
Sheets("KEY DATA").Select
End Sub
-----------------------------------------------------
Sub Region_SWE_pdf()
Dim Pfad As String
Sheets("KEY DATA").Select
ChDir "C:\Users\Feldmann_S\Desktop"
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
Pfad, Quality:=xlQualityStandard, _
IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:= _
True
Sheets("KEY DATA").Select
End Sub