Thread: Percentage sign
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
brian thompson3001 via OfficeKB.com brian thompson3001 via OfficeKB.com is offline
external usenet poster
 
Posts: 13
Default Percentage sign

thanks bob, works perfect

Merry Christmas - VBG

Brian

Bob Phillips wrote:
I think that you want

Sub Summary()
Dim ws As Worksheet
Dim i As Integer
i = 2
Sheets(1).Activate
Sheets.Add
With Sheets(1)
.Range("A1").Value = "Week"
.Range("B1").Value = "Released"
.Range("C1").Value = "Delivered"
.Range("D1").Value = "Del Late"
.Range("E1").Value = "Performance"
For Each ws In ThisWorkbook.Worksheets
If ws.Index < 1 Then
.Rows(i).Cells(1).Value = ws.Name
.Rows(i).Cells(2).Value = ws.Range("L30")
.Rows(i).Cells(3).Value = ws.Range("L27")
.Rows(i).Cells(4).Value = ws.Range("L29")
.Rows(i).Cells(5).Value = Format(ws.Range("L31").Value, "0.00%")
i = i + 1
End If
Next
End With
End Sub

Hi

[quoted text clipped - 37 lines]

Brian


--
bnt

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200612/1