Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
same function edit vba excel
Dim ws As Worksheet Dim i As Long '~~ Change this to the relevant sheet Set ws = Sheet1 With ws For i = 1 To 16 .Cells(i, "A").Value = .Cells(i, "E").Value .Cells(i, "B").Value = .Cells(i, "F").Value .Cells(i, "C").Value = .Cells(i, "G").Value Next i End With I have VBA Excel as above. in order to function like the code below what I need to change, yeah Dim lastRowCount As Integer totalRow = (Cells(Rows.Count, 1).End(xlUp).Row) Dim DataRange As Variant Dim i As Integer Dim firstRowCount As Integer firstRowCount = Target.Row i = 0 DataRange = Sheets("Sheet1").Range("A" & firstRowCount & ":C" & firstRowCount).Value For Each Item In DataRange i = i + 1 Next Dim jsonstring As String jsonstring = "["& Code1 & Code2 & Code3& "]" what I changed to be used |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Edit Comment Function | Excel Discussion (Misc queries) | |||
Edit Function with Keyboard | Excel Programming | |||
Using "Find" function in Excel 2000, edit data without closing Fin | Excel Discussion (Misc queries) | |||
Why can't I edit my excel document? Edit buttons shaded. | New Users to Excel |