Create Templates in Excel (Table of Contents) - EBOOK VBA EXCEL

EBOOK VBA EXCEL ( Ebook VBA Excel ) Welcome - Nothing Is Unable ... About Excel Tricks, Learning VBA Programming, Dedicated Software, Free Courses, Living Skills ...

Monday, December 9, 2019

Create Templates in Excel (Table of Contents)

Create Excel Template
Create Templates in Excel (Table of Contents)

Create Excel Templates

Ever wondered to utilize your previous work to get an advantage on your next piece? If you have spent your time in creating similar works multiple times or need to follow the exact formats in multiple workbooks, then Excel Templates is your answer to save your precious time. The examples include your dashboards, event management reports, inventory planning in a warehouse, etc. You need to do this time and again, so why not put your best foot forward once and then just do some tweaks to utilize it again for a different purpose.

This is where you will find the concept of “creating excel templates” useful. It helps you to avoid the cumbersome repetitive tasks and help you to focus on the real deal. These templates can be either standard, those which are already present in MS Excel for their ready-made use or you can create your own template and utilize them later.
You will be given a short introduction on using the standard templates present in the MS Excel file, and then we can move on creating our own templates, configured to our requirements.

#1 – How to Select Standard Excel Template?

Open an excel workbook and Go to File >- New 
You will see a similar screen like the below screenshot.
Create Template Example 1
It gives you the option to select from some pre-defined options divided by various categories. You can choose the one relevant to your requirement and double click on it to use that template. Suppose I choose the Academic Calendar (any year) and double-clicked on it.
Create Template Example 1-1
You will see a screenshot like the below one. You can see here that you can simply change the year and you can start using it for a different year than the one on which it was built for, giving you the flexibility to use whenever you want.
Create Template Example 1-2
For this template, you will need to make one other change which is “select the week start day” for a month. The screenshot is below. You will see this once you open the template.
Create Template Example 1-3
However, if you want to see a preview first and then decide whether you want to select that template or not, do a single click. You will see a screenshot as below.
Create Template Example 1-4
If you are satisfied with it, click on the create button to proceed with it. Else close it by clicking on the “X” symbol in the dialog box and proceed again. You can also move forward and backward to select the required one among the standard templates by clicking on the 2 symbols on the side of the dialog box (marked above in black).
Create Template Example 1-5
Like this, in any template that we choose, there will be some things which we need to tweak to reuse it for our purposes.

#2 -How to Create a Custom Excel Template?

This will be like the way copies are done from the original piece. We take utmost care in implementing the changes in the original piece, making sure all the formatting, headers, placeholders etc. are at perfectly done. Please devote a sufficient amount of time here, as anything and everything (example style, formatting, graphics etc.) related to this workbook will be replicated in its entirety.
What changes can be saved when you create custom template in Excel?
Basically, anything can you can do in a workbook can be saved in a template. Some of these include:
In the below screenshot, I have shown some of these examples in an excel template I have created
Excel Template
  • The cell B3 will only take inputs from a pre-specified list. (Go to cell B3, then go to “Data” tab. Select “Data Validation”.
Create Template Example 2
In the drop-down, select the first one “Data Validation”.
Create Template Example 2-1
  • Then make the following changes as shown in below screenshot.
Create Template Example 2-2
A Drop-Down list is created.
Create Template Example 2-3
  • Cells A3 to A6 will be highlighted in yellow. (Select Cell “A3:A6”, go to “Home Tab”, then click on “Fill Color”)
Create Template Example 2-4
  • The image will be there at the place shown (For this, go to the cell where you want to insert the picture, then go to the ‘Insert’ tab, click on ‘Pictures’ and then upload the image where it is stored on your computer)
Create Template Example 2-5
A Picture is uploaded in that Cell.
Create Template Example 2-6
  • A button is present, which on clicking will run the required macro. (Go to the cell where you want to place the button, then go to the “Insert” Tab, go to “Shapes”.
Create Template Example 2-7
  • Choose the shape. Right click on it to select “Edit Text”, if you want to write anything in it.
Create Template Example 2-8
Write “Click me to run the Macro”.
Create Template Example 2-9
  • Once done, right click again and choose “Assign Macro”.
Create Template Example 2-10
It will open a dialogue box wherein you can assign the relevant macro which you have written in VBA.
Create Template Example 2-11
  • Rows 8 to 12 are hidden. (For this, select rows 8 to 12).
Example 2-12
Go to the ‘Home’ tab, then go to ‘Format’, then to “Visibility”, then to “Hide & Unhide”, then “Hide Rows”.
Example 2-13
Similarly, in the above screenshot, apart from the ones mentioned above, you can see:
  • Cell F2 will always be in currency format. (For this, go to cell J2, do “ctrl+1” then change the type to “Currency”)
Example 2-14
  • Cells C15: D16 are merged into one. (For this, select cell C15: D16 and then click on “Merge & Center”)
Example 2-15
  • A worksheet is a freeze at cell C19 so that despite scrolling down, contents on row 19 will always be visible. You can use this when you want to always see the headers in your worksheet. (For this, go to cell N20, then go to “View” tab & click on “Freeze Panes”.
Example 2-16
Output is shown below.
Example 2-17
Now, assuming we have done everything that needs to be done in our workbook, I will show you the process that needs to be followed to save this created excel template and utilize it the next time.

#3 – How to Use Created Excel Template

Once you have created your excel templates and are made the changes to the workbook or worksheet, click “Save As Type” & you can save it in the format ‘Excel Template (*.xltx)’ if there is no macro. (Using Office 2016). If a macro is present, use the format Excel Macro-Enabled Template (*.xltm)
The screenshot is shown below:
Save as
We saved it as ‘xltm’ since there was a macro present.
  • Now that we have saved the created excel template, we can utilize it like the way I showed, when selecting a standard template. Open an excel workbook.
  • Go to File >- New >-
You will see a similar screen like the below screenshot.
You can see a “PERSONAL” category adjacent to the “FEATURED” one. All your personal templates will be present here.
Go to the Personal one, and double click the template “personal template” (the name that you gave to your template). On clicking it, you will see a workbook, with all the initial settings already present which you don’t need to do again.
See the screenshot below for your reference.
Personal template

Things to Remember

  • Using an excel template is about creating a perfect first copy, and then duplicate it many times. So, invest an awful lot of time in designing the first copy.
  • Depending on whether a macro is present or not in your template, save it according. If the macro is present, save it as “.xltm” file. Otherwise, you can save it in “xlt” file extension.
  • The created excel templates will be present in a different section called “PERSONAL” apart from the already present ones in the “FEATURED” section.

Recommended Articles

This has been a guide to Create Templates in Excel. Here we discuss how to create a Custom Excel Template along with practical examples and a downloadable template. You may learn more about excel from the following articles.
📤You download App installed directly on the latest phone here :

No comments:

Post a Comment