Sub TestMacro()
Dim sh As Worksheet
Set sh = ThisWorkbook.Sheets("Sheet1")
Dim k As Long
Dim str1() As String
Dim str2() As String
Dim i As Integer
k = sh.Range("A1", sh.Range("A1").End(xlDown)).Rows.Count
For i = 1 To k
splitValues = Split(ActiveSheet.Cells(i, "A").Value)
ActiveSheet.Cells(i, "B").Value = splitValues(0)
ActiveSheet.Cells(i, "C").Value = splitValues(1)
Next i
End Sub
Sub TestMacro()
Dim sh As Worksheet
Set sh = ThisWorkbook.Sheets("Sheet1"
Dim k As Long
Dim str1() As String
Dim str2() As String
Dim i As Integer
k = sh.Range("A1", sh.Range("A1".End(xlDown)).Rows.Count
For i = 1 To k
splitValues = Split(ActiveSheet.Cells(i, "A".Value)
ActiveSheet.Cells(i, "B".Value = splitValues(0)
ActiveSheet.Cells(i, "C".Value = splitValues(1)
Next i
End Sub
Last reply 5 minutes ago
Is anyone going to graphic design in 2024 in university of Northampton?Posted 8 minutes ago
Online Delivery of Flowers to BangaloreLast reply 28 minutes ago
AQA A Level Sociology Paper 2 (7192/2) - 4th June 2024 [Exam Chat]Last reply 29 minutes ago
R u 18-25 & studying in a England Uni, spare a few mins to fill my survey. 1 wk left.Last reply 31 minutes ago
Edexcel A Level Economics A Paper 1 (9ECO 01) - 15th May 2024 [Exam Chat]Posted 39 minutes ago
st. andrews sixth form in cambridgeLast reply 57 minutes ago
Anyone else applying/has applied to UCL's Robotics and AI MEng course??Last reply 1 hour ago
LSE International Social and Public Policy and Economics (LLK1) 2024 ThreadLast reply 1 hour ago
Inlaks, Commonwealth, and Other Scholarships for Indian Students 2024: ThreadLast reply 1 hour ago
Official London School of Economics and Political Science 2024 Applicant ThreadLast reply 1 hour ago
Official University of the Arts London Applicant Thread for 2024Last reply 1 hour ago
LAWYERS: Can I bring an action against my old schoolLast reply 2 hours ago
JK Rowling in ‘arrest me’ challenge over hate crime lawLast reply 57 minutes ago
Anyone else applying/has applied to UCL's Robotics and AI MEng course??Last reply 3 hours ago
Official University College London Applicant Thread for 2024Last reply 3 days ago
2024 MRes Developmental Neuroscience and Psychopathology UCL/YaleLast reply 57 minutes ago
Anyone else applying/has applied to UCL's Robotics and AI MEng course??Last reply 3 hours ago
Official University College London Applicant Thread for 2024Last reply 3 days ago
2024 MRes Developmental Neuroscience and Psychopathology UCL/Yale