Open a Workbook using a Command Button

  • Thread starter Thread starter aussiegirlone
  • Start date Start date
A

aussiegirlone

Is there a code for a command Button to open a Workbook to enter New Data
 
Assign this macro to your button:

Sub dural()
Workbooks.Open Filename:=Application.GetOpenFilename()
End Sub
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top