LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Macro to paste data into next blank row

Sub Tester6()
Selection.Copy
Worksheets("Confirmation").Cells(Rows.Count, 1). _
End(xlUp)(2).PasteSpecial Paste:=xlPasteValues, _
Transpose:=True

End Sub

--
Regards,
Tom Ogilvy


Cynthia wrote in message
...
I have one more question for today. I have a spreadsheet that I'm using

as a reservation confirmation letter. It includes one short column with
name, address, etc. that I have a macro paste as a row into a second
spreadsheet. What I want to be able to do is that each time I fill out a
new confirmation letter, the macro will paste it as a new row into the
second spreadsheet, thus giving me a consolidated list of all reservations.
For example, 30 confirmation spreadsheets=30 rows in the one spreadsheet.
In other words, every time I change the info on the confirmation spreadsheet
and run the macro, how do I tell the macro to paste into the next empty row,
without overwriting my first row?

Hope you can understand the problem.
Cynthia



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro - Copy/Paste Special to Next Blank Line lajohn63 New Users to Excel 2 August 27th 12 09:27 PM
macro that will paste a number in first blank cell of a column asebes Excel Discussion (Misc queries) 1 December 28th 09 05:34 PM
using macro to copy and paste filtered results, what if blank? priceyindevon Excel Worksheet Functions 2 December 14th 06 10:09 AM
Macro copy and paste = blank worksheet efface Excel Discussion (Misc queries) 1 April 27th 06 09:52 PM
Using a Macro to paste into Blank Cells phillipsb Excel Worksheet Functions 0 October 5th 05 05:58 PM


All times are GMT +1. The time now is 12:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"