LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 210
Default Automatically Increment numerically ordered

Jim here is the code


Here is the code that copies and inserts the rows:
Sub copyrows()

numrows = InputBox("Number of rows")
'Rows(ActiveCell.Row).Copy ActiveCell.Resize(numrows)
Rows(ActiveCell.Row).Copy
ActiveCell.Resize(numrows).Insert
Application.CutCopyMode = False

End Sub

Thanks!

 
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
Automatically Increment numerically ordered rows Robin Excel Discussion (Misc queries) 3 August 20th 09 01:59 AM
Automatically Increment Row Numbers Jen New Users to Excel 9 November 19th 08 08:25 AM
automatically increment y-axis daily Peter Dacre Charts and Charting in Excel 1 October 2nd 06 02:31 PM
automatically increment field by one Dingbat Excel Discussion (Misc queries) 2 October 25th 05 08:18 PM
increment cell value automatically Gummy Excel Worksheet Functions 0 November 5th 04 10:30 PM


All times are GMT +1. The time now is 07:03 PM.

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"