יצוא מאקסס לאקסל עם תיבת דו-שיח
-
הנה דוגמא פשוטה:
Function SelectFileDialog As String() With Application.FileDialog(msoFileDialogSaveAs) If .Show Then SelectFileDialog = .SelectedItems(1) Else SelectFileDialog = "" End If End With End Function
בקוד שלך תקרא לפונקציה כך:
Dim targetFile As String ... targetFile = SelectFileDialog() ' Save yout report as targetFile
-
פוסט זה נמחק!