Hallo Everyone
I was wondering if you could help me once more.
I have created a index sheet to my workbook that consist of about 30 sheets. The "Index" sheet has the following codes written to it.
The first part of the code is connected to a command button - each time when it is clicked it updates my index sheet in Range "A" with all the sheets that are in the workbook, it also picks up a name change of the sheets and is linked to hyperlinks
The second part of the code is linked to the hyperlinks and when all the sheets are hidden (EXCEPT THE INDEX SHEET) and I select a sheet in range "A" it will open that sheet, once i click on the index sheet again the opened sheet is hidden automatically again. This is all to present to the user only one sheet (INDEX - User platform if you want to call it that)
The problem I have is that each time I create a new sheet and refresh the command button it adds the new sheet at the next open row in range "A" (lets say the sheet is added in cell A 14), this is all 100% however, I then have to manually insert the following : (Cell C14 = Region) (Cell D14 = District) (Cell E14 = Regional Manager) (Cell F14 - Area Manager) - this is fine because it is the user input form (names ,region and so on have to change for each sheet)
What I want to include in the code is that once cell range C14:F14 (on the "Index" sheet) is completed by the user it automatically ads that to the sheet that is just created (I WILL PLACE A NUMBER 1, 2, 3, and so on to the new sheets to be created so the code recognize that only sheets that start with a number should apply to this code) in stead of me having to edit each cell in the new worksheet by saying =Index!C14, =Index!D14, =Index!E14 , =Index!F14
the location/s on the new sheet from which the range C14:F14 is to be copied is
C14 Copied to new sheet J5
D14 Copied to new sheet J6
E14 Copied to new sheet C12
F14 Copied to new sheet J12
I have included/attached the index sheet - bearing in mind its not allocated to a specific sheet, its to all new sheets created
Bookmarks