VBA display captured data to next row

scabers

New Member
Joined
Jul 4, 2017
Messages
6
HI, I've got a macro that currently pulls in data from another system and displays each piece of data in a separate column.
Code I have currently working to paste to next column is as follows.
I'd like to display the captured data to the next row instead of the next column.


Dim i As Long
Dim xlsheet As Excel.Worksheet
Set xlsheet = Worksheets("RESULTS")
For i = 2 To xlsheet.Range("A65536").End(xlUp).Row

For each piece of data captured to be entered into each column the code is as follows

xlsheet.Cells(i, 2) =REDACTED
xlsheet.Cells(i, 3) =REDACTED
xlsheet.Cells(i, 4) =REDACTED
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Can you show us what the data looks like initially in the sheet, and what it needs to look like afterwards (i.e. which column is it going in)?

There are tools you can use to post screen images. They are listed in Section B of this link here: Guidelines for Forum Use.
Also, there is a Test Here forum on this board that you can use to test out these tools to make sure they are working correctly before using them in your question.
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top