Escolar Documentos
Profissional Documentos
Cultura Documentos
Sub BuscarDatos()
Application.ScreenUpdating = False
On Error Resume Next
DisplayAlerts = False
Dim uf As String
Dim conta As Integer
f=2
f1 = 2
f2 = 2
Sheets("Hoja2").Cells.Clear
Sheets("Hoja1").Range("D" & 1 & ":H" & 1).Copy Destination:=Sheets("Hoja2").Range("A" & 1)
Sheets("Hoja1").Select
Cells(f, 1).Select
While Cells(f, 1) <> Empty
dato = Cells(f, 1)
End If
f1 = f1 + 1
Wend
f1 = 2
f=f+1
Wend