Hallo, ich habe folgendes Problem und komme einfach nicht weiter...
ich habe ein makro was unter Office 32bit sehr gut läuft aber unter
64bit zeigt er mir einen fehler an ( Kompilierungsfehler )
Danke schon ein mal für eure hilfe !!!
Private Sub CommandButton13_Click()
'PDF.....001
Dim strDatei As String
strDatei = "C:\Test\001test.pdf"
ShellExecute 0, "Print", strDatei, "", "", 0
End Sub
und....
' **********************************************************************
' Modul: Modul1 Typ: Allgemeines Modul
' **********************************************************************
Option Explicit
Public Declare Function ShellExecute Lib "shell32.dll" Alias
"ShellExecuteA" _
(ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As
String, _
ByVal lpParameters As String, ByVal lpDirectory As String, _
ByVal nShowCmd As Long) As Long