Hi All
I am just beginner on Excel vba and need your help.
I have a sheet which has Country name field (In Column A) and their status field (In Column C).
Please see below image from my file for your reference.
IMAGE.JPG
I want macro to create a new worksheet for countries where the status is "Yes" and should name it according to that country. If the status is " No" then it should move to next country. This should continue until all the countries are checked in column A.
Eg: If the status for Australia is "Yes" then the macro should create new worksheet with name Australia, If it's no then it should move to Bahrain.
I tried below the below code (using help from internet) but it is not working.
Your help will make my work more easy
When i try to run the below macro it gives me Compile error : Next without For
Please Login or Register to view this content.
Bookmarks