Vba Open En Cad.txt

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Vba Open En Cad.txt as PDF for free.

More details

  • Words: 90
  • Pages: 1
Public Sub OpenFile() 'sample to show how to use FileDialogs Dim objFile As FileDialogs Dim strFilter As String Dim strFileName As String Set objFile = New FileDialogs objFile.OwnerHwnd = ThisDrawing.HWND32 'desc,filter combinations must all be separated with pipe char "|" strFilter = "Drawings (*.dwg)|*.dwg|All Files (*.*)|*.*" objFile.Title = "Open a drawing" 'default dir is CurDir objFile.StartInDir = "c:\" objFile.Filter = strFilter 'return a valid filename strFileName = objFile.ShowOpen If Not strFileName = vbNullString Then 'use this space to perform operation MsgBox strFileName End If Set objFile = Nothing End Sub

Related Documents

Vba Open En Cad.txt
November 2019 10
Vba Word.docx
December 2019 18
Vba Course
May 2020 5
Standard Vba
May 2020 14
Vba Combo
October 2019 39
Validatefile Vba
June 2020 10