Hey Exceler
Could you help me in creating new sheet and rename it depend on cells?
waiting for your replay![]()
Hey Exceler
Could you help me in creating new sheet and rename it depend on cells?
waiting for your replay![]()
We're gonna need more information than that.
Sounds like a VBA solution is required.
Regards
Special-K
Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.
Perhaps this VBA solution
![]()
Sub AddSheets() Dim i As Long, lr As Long lr = Range("A" & Rows.Count).End(xlUp).Row Dim sname As String With Sheets("Sheet1") For i = 1 To lr sname = .Range("A" & i) Sheets.Add After:=Sheets(Sheets.Count) Sheets(Sheets.Count).Name = sname Next i End With End Sub
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Thanks alansidaman but i try the code you make but does not work as i want.
here the excel that contain explanation of what i needWe're gonna need more information than that.
Sounds like a VBA solution is required.
https://drive.google.com/open?id=0Bw...zVNVV95bXAwa2M
When you provide a worksheet for review, please use the upload function available in the forum.
To attach a file to your post,
click advanced (next to quick post),
scroll down until you see "manage file",
click that and select "add files" (top right corner).
click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"
Once the upload is completed the file name will appear below the input boxes in this window.
You can then close the window to return to the new post screen.
i upload it from manage attachment but when i try to send it it's not coming
When you provide a worksheet for review, please use the upload function available in the forum.
To attach a file to your post,
click advanced (next to quick post),
scroll down until you see "manage file",
click that and select "add files" (top right corner).
click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"
Once the upload is completed the file name will appear below the input boxes in this window.
You can then close the window to return to the new post screen.
Thanks alansidaman but i try the code you make but does not work as i want.
here the excel that contain explanation of what i needWe're gonna need more information than that.
Sounds like a VBA solution is required.
using your spreadsheet, here is updated code to add a sheet as you have requested.
As to a template, what do you want the template to look like.![]()
Option Explicit Sub NewSheet() Dim c As Range Set c = ActiveCell Worksheets.Add After:=Sheets(Sheets.Count) Sheets(Sheets.Count).Name = c.Text End Sub
Thanks for your solution
I paste the code in sheet1 (right click) - view code - insert new module - paste
is it right?
because when i run it, its create new sheet with only one cell (B1)
Hello guys,could any one help me in this problem?
it is not working well until now![]()
What does this mean. It is unclear to me what you are saying.
You have not answered my earlier questionwhen i run it, its create new sheet with only one cell (B1)
If you don't tell us specifically what you want, we cannot provide you with specific responses. Help us to help you by being clear in your requests.As to a template, what do you want the template to look like.
Responses like this do not help us to provide you with what you want. We are not mind readers
it is not working well until now
what i mean when i paste the code in my excel sheet and i have fill column B with the names, then i debug the code it will create one page with the last row added.
for the template when the worksheet has been created i want to find header in the first row. For example, cell A1 "Name" cell B1"Age" C1"mobile Number" etc.
hope you find it clear now![]()
Here is a revised code based upon your recent request. If you make your request clear with examples in your first post, then that will speed up getting a bona fide response that meets your needs.
![]()
Sub NewSheet() Dim c As Range Set c = ActiveCell Worksheets.Add After:=Sheets(Sheets.Count) Sheets(Sheets.Count).Name = c.Text With ActiveSheet .Range("A1") = "Name" .Range("B1") = "Age" .Range("C1") = "Mobile Number" End With End Sub
For this to work, you must have a cell in the current range of B:B selected as this is prompted off an active cell selected.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks