Learn and Create Macros Easily - Creating multiple sheets with VBA (Macro)
Welcome to the blog. Without wasting anytime we will get staraight to the point. Here we will learn and create Macros in a very easy way. In this blog we will create multiple tabs based on the Locations. Here is the Data which we will be using to create Tabs. In this sample data, there are 10 Cities and you are tasked to create 10 Tabs with the city names. Manually it can be done. Create 10 Tabs and rename each one. Just imagine if you have 200 cities. It would be very time consuming and tiring job. Now let is create a code which will create 10 tabs and rename it with the cities. The Code will look Like this You can copy the code from below and use it in your excel ------------------------- Sub Citi_Name() Range("A1").Select Selection.End(xlDown).Select TotCity = ActiveCell.Row - 1 For i = 1 To TotCity Tot...

Comments
Post a Comment