M
monika
hi...i need to show the user whatever i am doign in my programmign thing. so
i am using the application.screenupdating as true. But whiel doing so its
takign more timebecause i have to change the color and font of the
particualr cell. the way i am dealign isi select the cell and then i change
the font and format...i have sited 2 suh example.s... cani do away with this
thing in a better ways... ?
thanks a lot ..monika
Cells(LNewRng.Row,
m - 1).Select
Selection.Font.Bold = True
With Selection.Interior
.ColorIndex = 34
.Pattern = xlSolid
End With
Cells(LNewRng.Row, m - 1).Value = "Year " & Year(Date) & " Sum"
While k <= LastCellNum
Cells(k, j).Select
Selection.NumberFormat = "#,##0"
Cells(k, j).Value = weeks *(Cells(k,monMatch.Column).Value)
Cells(k, j).Value = "=(" & weeks & "*" &
Cells(k,monMatch.Column).Address & ")"
k = k + 1
Wend
i am using the application.screenupdating as true. But whiel doing so its
takign more timebecause i have to change the color and font of the
particualr cell. the way i am dealign isi select the cell and then i change
the font and format...i have sited 2 suh example.s... cani do away with this
thing in a better ways... ?
thanks a lot ..monika
Cells(LNewRng.Row,
m - 1).Select
Selection.Font.Bold = True
With Selection.Interior
.ColorIndex = 34
.Pattern = xlSolid
End With
Cells(LNewRng.Row, m - 1).Value = "Year " & Year(Date) & " Sum"
While k <= LastCellNum
Cells(k, j).Select
Selection.NumberFormat = "#,##0"
Cells(k, j).Value = weeks *(Cells(k,monMatch.Column).Value)
Cells(k, j).Value = "=(" & weeks & "*" &
Cells(k,monMatch.Column).Address & ")"
k = k + 1
Wend