ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Automatically copying rows (https://www.excelbanter.com/excel-programming/366406-automatically-copying-rows.html)

T De Villiers[_31_]

Automatically copying rows
 

Hi,

When I insert a row I would like the formula from the row below to be
automatically copied upwards.

Many Thank

--
T De Villier
-----------------------------------------------------------------------
T De Villiers's Profile: http://www.excelforum.com/member.php...fo&userid=2647
View this thread: http://www.excelforum.com/showthread.php?threadid=55879


Charlie

Automatically copying rows
 
To do it manually, hightlight the entire row and press Ctrl-C (Copy) or
right-click and select "Copy". Then right click the same row and select
"Insert Copied Cells".

in VB do: (example to copy row 2)

Range("2:2").Select
Selection.Copy
Selection.Insert shift:=xlDown
Application.CutCopyMode = False


"T De Villiers" wrote:


Hi,

When I insert a row I would like the formula from the row below to be
automatically copied upwards.

Many Thanks


--
T De Villiers
------------------------------------------------------------------------
T De Villiers's Profile: http://www.excelforum.com/member.php...o&userid=26479
View this thread: http://www.excelforum.com/showthread...hreadid=558798




All times are GMT +1. The time now is 12:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com