Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default inserting rows on multiple worksheets

Hi
This piece of code inserts a new row on the current
worksheet, above the active cell.
Anyone know how this can be expanded to insert a new row
in exactly the same position on worksheet 2?
Many Thanks
katie
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default inserting rows on multiple worksheets

Katie,

Worksheets("Sheet2").Rows(ActiveCell.Row).EntireRo w.Insert

HTH,
Nikos

"katie" wrote in message
...
Hi
This piece of code inserts a new row on the current
worksheet, above the active cell.
Anyone know how this can be expanded to insert a new row
in exactly the same position on worksheet 2?
Many Thanks
katie



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
Inserting Rows into multiple worksheets Andrew Excel Discussion (Misc queries) 2 January 15th 10 09:45 PM
inserting rows on multiple worksheets Sarah Excel Worksheet Functions 0 August 17th 07 02:12 AM
inserting rows on multiple worksheets roadkill Excel Worksheet Functions 0 August 17th 07 01:57 AM
Inserting columns & rows in worksheets Wylie Coyote Excel Worksheet Functions 3 September 16th 06 09:43 PM
Inserting rows into worksheets that are protected Chris R Excel Worksheet Functions 3 November 18th 05 01:54 PM


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