Macro for new sheet creation and adding cell value to each sheet

SWSHUBHAM29

New Member
Joined
Apr 16, 2022
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
Hello,
Greeting!

I have data of a few codes and corresponding values, like code is "12345" and the corresponding name "abcde".
Now I want a macro where I can create a new worksheet for each code and want to add a name at a particular cell value for a sheet based on the corresponding name.
I have a code for a sheet creation but cannot understand how I can add a name to that sheet.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Please tell me about your overall objective with specifics.

Do not show me some code you already have and want me to modify it.
I like writing the entire script myself.
When giving specifics please give sheet names like "Alpha" Or "Bravo"
And give column Names like column A or Column B
Do not say column "Data"

If you want to create a lot of sheets give me the name you want to give to each sheet or tell me where I can find the name you want each sheet given.

Look forward to helping you.
Again do not show me some code you already found someplace and then want me to modify the code to fit your needs
 
Upvote 0

Forum statistics

Threads
1,214,798
Messages
6,121,635
Members
449,043
Latest member
farhansadik

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