muhammad susanto
Well-known Member
- Joined
- Jan 8, 2013
- Messages
- 2,077
- Office Version
- 365
- 2021
- Platform
- Windows
hi all..
the following code work well. i want to adding code so can work
i have several sheets and that code work for multiple sheets. I want to :
1. automatic insert 1 row in row or cell A1 (for all sheets)
2. adding font size 14 (automatic in all sheet in cell A1 till E1
3. merge cell A1 till E1 for each sheet
thank for your help.
.sst
the following code work well. i want to adding code so can work
i have several sheets and that code work for multiple sheets. I want to :
1. automatic insert 1 row in row or cell A1 (for all sheets)
2. adding font size 14 (automatic in all sheet in cell A1 till E1
3. merge cell A1 till E1 for each sheet
VBA Code:
Sub Header()
Dim ws As Worksheet
For Each ws In Sheets
ws.Range("A1") = "Counting -" & ws.Index
Next
End Sub
thank for your help.
.sst
Last edited: