Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default How do I change this code?

This copies a line up for me but I can't get it to copy a line down. How do I
change it?

With ActiveCell

.EntireRow.Copy .Offset(-1, 1 - .Column)
End With
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I change this code?

As a guess... change the -1 to 1....

..EntireRow.Copy .Offset(1, 1 - .Column)

Rick


"OrlaLynch" wrote in message
...
This copies a line up for me but I can't get it to copy a line down. How
do I
change it?

With ActiveCell

.EntireRow.Copy .Offset(-1, 1 - .Column)
End With


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
change forecolor with code Horatio J. Bilge, Jr. Excel Discussion (Misc queries) 2 November 29th 07 05:24 PM
VBA Code to Change the Tab Name Michael in Texas Excel Discussion (Misc queries) 1 March 28th 07 03:07 AM
VBA Code to Change the Tab Name Gary''s Student Excel Discussion (Misc queries) 0 March 28th 07 12:05 AM
combo box on change code frendabrenda1 Excel Discussion (Misc queries) 0 April 10th 06 04:21 PM
change the code to be a formula Little pete Excel Discussion (Misc queries) 1 November 30th 05 07:29 PM


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