how to display all sheet names in sheet 1

sateesh kumar

Board Regular
Joined
Dec 5, 2013
Messages
63
Hi to all

Am creating Test case template, in that i want to count no Test cases, no of passed, fail...etc. those are counted in with in sheet in D to G columns only. but i when ever i want check the test case results, its taking more time ,i have 25 sheets. if new sheet will generate , what i want is,that sheet names and sheet result also reflect the in sheet 1.

Actully am done the Display the Sheet names with Macro. but when ever run the code sheet names will inserting next columns,not over writing in that columns only. i want insert data particular column only.

here is my code
Code:
Sub SheetNames()
    Columns(1).Insert
    For i = 1 To Sheets.Count
        Cells(i, 1) = Sheets(i).Name
    Next i
End Sub

Thanks for Advance
 
Last edited:

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

sateesh kumar

Board Regular
Joined
Dec 5, 2013
Messages
63
thanks for the replay

i want to insert the sheet names from A8 to A only. in A7 have name labels , a1-a6 other information.
i want call the values in E,G to names sheets , and insert the data with particular sheet name row only .

here find this below link
https://app.box.com/s/ctip8y5hhe4mztywj1da

thanks for advance
 
Last edited:

MARK858

MrExcel MVP
Joined
Nov 12, 2010
Messages
14,050
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
  2. Mobile
I will deal with the first bit. Someone else will have to help with the rest as I am just going to work

i want to insert the sheet names from A8 to A only
.

change
Cells(i, 1) = Sheets(i).Name

to
Cells(i+7, 1) = Sheets(i).Name
 

Watch MrExcel Video

Forum statistics

Threads
1,129,592
Messages
5,637,290
Members
416,962
Latest member
samfuge

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
Top