New Excel Forum

This forum has been moved to TeachExcel.com

Ask all future questions in the New Excel Forum.

ExcelKey

Need to copy cells in a column until blank cell

Macros, VBA, Excel Automation, etc.

Need to copy cells in a column until blank cell

Postby tdunlap2015 » Mon Dec 21, 2015 10:37 am

I need to copy all cells in column A until a blank cell is reached and then paste off of them in another workbook in sheet 1, column B at the first blank cell in that column. Can anyone help me with this?
  • 0

tdunlap2015
Rookie
 
Posts: 1
Joined: Dec 21, 2015
Reputation: 0
Excel Version: 2013

Re: Need to copy cells in a column until blank cell

Postby NoSparks » Mon Dec 21, 2015 12:28 pm

I need to copy all cells in column A until a blank cell is reached

does this mean what it says, that you have blank cells somewhere within the data of column A and want to stop the copy at that point, or do you mean copy all cells in column A down to the last cell with data?

The best way to get help with this would be to use the macro recorder to record you doing this manually. Then post the recorded macro for "tune up".

Be sure to use code tags when posting the macro.
  • 0

NoSparks
Excel Hobbyist
 
Posts: 637
Joined: May 28, 2014
Reputation: 103
Excel Version: 2010


Return to Macros and VBA Questions

Who is online

Users browsing this forum: Majestic-12 [Bot] and 245 guests