#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Fill Macro

I cannot figure out how to get a macro to go to the last
row(s) of a worksheet and do a fill to the next free
row. The VBA never seems to work out. I need to do it
for one row, and a range of cells on another worksheet.
Please help!!! How do I do this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Fill Macro

Sub Macro2()
ActiveCell.EntireRow.Select
Selection.Insert Shift:=xlDown
Selection.FillDown
End Sub

Regards,
Tom Ogilvy

Mike Fenton wrote in message
...
I cannot figure out how to get a macro to go to the last
row(s) of a worksheet and do a fill to the next free
row. The VBA never seems to work out. I need to do it
for one row, and a range of cells on another worksheet.
Please help!!! How do I do this?



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
Macro Fill palups Excel Worksheet Functions 2 January 20th 10 04:55 AM
Auto Fill Down Macro Angela T Excel Worksheet Functions 5 November 17th 09 07:01 PM
Fill Macro II Mike Excel Worksheet Functions 0 February 6th 09 07:24 PM
Fill Down Macro Lost in Excel Excel Discussion (Misc queries) 7 December 8th 08 10:24 PM
Macro for Auto Fill carolini Excel Discussion (Misc queries) 2 December 6th 05 09:11 PM


All times are GMT +1. The time now is 07:44 AM.

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

About Us

"It's about Microsoft Excel"