Hey there,
I have created a sheet which gets populated by information but have left out the top row. I want to use the tope row to enter my header fields but was looking to see if there a more effcicent way of doing this.
I am using the following code below but was wondering if there was a way using arrays as variants or ranges to do it more efficiently.
cheers for your help.![]()
With wsNew wsNew.Activate .Range("A1").Value = "Compt. Code" .Range("A2").Value = "Test 2" .Range("A3").Value = "Test 3" .Range("A4").Value = "Test 4" .Cells.Select Selection.Columns.AutoFit Selection.Rows.AutoFit End With
Jag
Bookmarks