My code is :
Sub Calculating()
Dim header As String
With header.Range("A1") = "Name"
.Cells(1, "B") = "Class"
.Cells(1, "C") = "Subject"
.Cells(1, "D") = Range("d1") = "Marks Secured"
The above code is causing to throw error as Compile Error: Invalid Qualifier.
Could you please help me out from this.
Sub Calculating()
Dim header As String
With header.Range("A1") = "Name"
.Cells(1, "B") = "Class"
.Cells(1, "C") = "Subject"
.Cells(1, "D") = Range("d1") = "Marks Secured"
The above code is causing to throw error as Compile Error: Invalid Qualifier.
Could you please help me out from this.