Customized Toolbar Button

fdegree

New Member
Joined
Jul 13, 2008
Messages
27
I have created worksheet templates that I want to insert, into a workbook, quickly and with few steps. So I was hoping I could create a button on the toolbar that will open the folder that these worksheets are stored within. Then allow me to select the template I want and insert it into the workbook.

Any ideas?
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
I have created worksheet templates that I want to insert, into a workbook, quickly and with few steps. So I was hoping I could create a button on the toolbar that will open the folder that these worksheets are stored within. Then allow me to select the template I want and insert it into the workbook.

Any ideas?

Not sure about selecting the templates, but to simply open a folder use:

Code:
RetVal = Shell("explorer.exe " & strNewDir, vbNormalFocus)

If by open a folder you mean a file dialog box, that's a different story.
 
Upvote 0

Forum statistics

Threads
1,215,417
Messages
6,124,791
Members
449,188
Latest member
Hoffk036

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top