Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copy and paste macro

I am trying to write a bit of code to search for the first blank row in an
excel list then paste a selection at that point in the list then stop.

I have managed it to finding the first blank row, but it continues pasting
into all the blank cells thereafter.

Help please
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Copy and paste macro

does this help

Sub firstblankrow()
fbr = Cells(1, 1).End(xlDown).Offset(1).Address
Range("a1").Copy Range(fbr)
End Sub


--
Don Guillett
SalesAid Software

"Bikernick" wrote in message
...
I am trying to write a bit of code to search for the first blank row in an
excel list then paste a selection at that point in the list then stop.

I have managed it to finding the first blank row, but it continues pasting
into all the blank cells thereafter.

Help please



Reply
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
Copy and Paste Macro dannykuk Excel Programming 2 January 17th 06 01:52 PM
copy multiple worksheets of a workbook, and paste onto a Word document ( either create new doc file or paste onto an existing file.) I need this done by VBA, Excel Macro Steven Excel Programming 1 October 17th 05 08:56 AM
Copy and Paste macro needs to paste to a changing cell reference loulou Excel Programming 0 February 24th 05 10:29 AM
how to count/sum by function/macro to get the number of record to do copy/paste in macro tango Excel Programming 1 October 15th 04 01:16 PM
Macro to Copy/Paste then Paste to Next Line tomkarakowski Excel Programming 1 May 28th 04 01:19 AM


All times are GMT +1. The time now is 11:21 AM.

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"