Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi friends,
How to Insert/delete same Rows/Columns from two worksheets at a time? Is there a way to capture the Insert/delete Rows/Columns? so I can insert/delete in both sheets on that event. One way is to group two worksheets (But I want only Insert/Delete not other operations). The solution for this is to group at the time of insert/delete and then ungroup it. But I dont want to Group-Ungroup everytime. Thanks & Regards, Vinit |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Vinit -
If you are talking about doing this in code, using an array of sheets is fast and simple Dim ws As Worksheet For Each ws In Sheets(Array("Sheet1", "Sheet2")) Rows("10:11").Delete Shift:=xlUp Next Doesn't group the sheets - just acts on all the sheets in your array "Vinit" wrote: Hi friends, How to Insert/delete same Rows/Columns from two worksheets at a time? Is there a way to capture the Insert/delete Rows/Columns? so I can insert/delete in both sheets on that event. One way is to group two worksheets (But I want only Insert/Delete not other operations). The solution for this is to group at the time of insert/delete and then ungroup it. But I dont want to Group-Ungroup everytime. Thanks & Regards, Vinit |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Duke,
I want it on Excels Row/Column delete event invoked by right click . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to delete or copy alternative rows/columns at a time? | Excel Discussion (Misc queries) | |||
Delete all rows below certain value on multiple worksheets? | Excel Discussion (Misc queries) | |||
Add or Delete Rows in Protected worksheets | Excel Discussion (Misc queries) | |||
delete rows from multiple worksheets | Excel Worksheet Functions | |||
Using VBA to delete certain worksheets rows | Excel Programming |