Part 1:
Ok so I am using this VBA
I am trying to get data from multiple columns in the export sheet (Test Sheet) to copy and paste to a new sheet (Test Sheet 2). This script works well, but the part that kills me is that i need 8 columns of data. These are Columns a,b,d,h,l,m,n,t. Is there a way to consoludate this or will i simply have to rinse repeat this code modifing the range?
Part 2:
After this data is copy and pasted onto the "test Sheet 2", I am correcting a numbers displayed as text error that orignates from the first export. Here is the Code.
It works But it gets hung up for about 30 seconds before it ends. Any Tips to prevent this hang up?
Thanks guys!
Ok so I am using this VBA
Code:
Private Sub Copy1()
Range("A4", Range("A4").End(xlDown)).Select
Selection.Copy
Sheets("Test Sheet 2").Select
Range("A6").Select
ActiveSheet.Paste
Sheets("Test Sheet").Select
I am trying to get data from multiple columns in the export sheet (Test Sheet) to copy and paste to a new sheet (Test Sheet 2). This script works well, but the part that kills me is that i need 8 columns of data. These are Columns a,b,d,h,l,m,n,t. Is there a way to consoludate this or will i simply have to rinse repeat this code modifing the range?
Part 2:
After this data is copy and pasted onto the "test Sheet 2", I am correcting a numbers displayed as text error that orignates from the first export. Here is the Code.
Code:
Private Sub Correct_Text_asnumbers()
For Each c In Range("A:G")
If c = "" Then GoTo nextc
If IsNumeric(c) Then
c.Value = c.Value * 1
c.NumberFormat = "general"
End If
nextc:
Next c
End Sub
It works But it gets hung up for about 30 seconds before it ends. Any Tips to prevent this hang up?
Thanks guys!