G
Guest
I'm wondering if you can do a with statement, then another with statement
within that (to add onto the first with statement).
I have a problem with Excel VB not accepting Access VB (as described in a
post about 4 posts down), and i'm trying to find ways around it.
Here's the With code,
' Format Row 1
' For Each cell In xlSheet.Range("A1,"S1")
With xlSheet
For bytTemp = 1 To 30
With .Cells(bytTemp, 1)
.Font.Size = 10
.Font.Name = "Arial"
.Font.Bold = True
.Font.Color = conWhite
.Interior.Color = 0
.HorizontalAlignment = xlHAlignCenter
.WrapText = True
End With
Next bytTemp
.Rows(1).RowHeight = 25.5
End With
within that (to add onto the first with statement).
I have a problem with Excel VB not accepting Access VB (as described in a
post about 4 posts down), and i'm trying to find ways around it.
Here's the With code,
' Format Row 1
' For Each cell In xlSheet.Range("A1,"S1")
With xlSheet
For bytTemp = 1 To 30
With .Cells(bytTemp, 1)
.Font.Size = 10
.Font.Name = "Arial"
.Font.Bold = True
.Font.Color = conWhite
.Interior.Color = 0
.HorizontalAlignment = xlHAlignCenter
.WrapText = True
End With
Next bytTemp
.Rows(1).RowHeight = 25.5
End With