#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 334
Default Rows vb statement

After using macro recording for a single insertion of a row, the recording
showed this:
Rows("50:50") followed by in inser command, my question is How do I make
this Rows statement become Macro friendly?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Rows vb statement

Maybe
Activecell.entirerow.insert
or
Activecell.offset(1,0).entirerow.insert



Rick wrote:

After using macro recording for a single insertion of a row, the recording
showed this:
Rows("50:50") followed by in inser command, my question is How do I make
this Rows statement become Macro friendly?


--

Dave Peterson
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
hiding rows with an if statement Larry Fitch Excel Worksheet Functions 0 April 4th 10 03:50 PM
if statement using rows and columns Joe@Phoenix Excel Discussion (Misc queries) 5 August 31st 09 09:37 PM
Incrementing Rows or Colums After Running Through an IF Statement Intern Excel Discussion (Misc queries) 1 June 5th 09 05:40 PM
Countif statement doesn't work on some rows Carpo Excel Worksheet Functions 0 July 14th 06 05:24 PM
Deleting rows based on IF statement simmerdown Excel Discussion (Misc queries) 1 September 9th 05 02:18 PM


All times are GMT +1. The time now is 02:01 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"