Open a Workbook using a Command Button

A

aussiegirlone

Is there a code for a command Button to open a Workbook to enter New Data
 
G

Gary''s Student

Assign this macro to your button:

Sub dural()
Workbooks.Open Filename:=Application.GetOpenFilename()
End Sub
 
A

aussiegirlone

Thankyou Gary, the macro works well to open the folder where the workbooks
are stored, but I still have to click onto the workbook I want to open. so
this macro is not exactly the way I want it to be, as it does not open the
actual workbook needed.
 
Top