LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default raltive cell ref conundrum

Hi,

I have a spreadsheet with 30 records in it. I would like a macro that
enables me to delete a record and then move all the others up. The
complicated part is that I do not want it to copy any cells below the 30
records. (I have other data here)

As an example if I am in record 1 (e.g. A1) and choose to delete it, the
macro moves (copies) cells A2:A30. If I am in record 2 and choose to delete
it, the macro moves (copies) cells A3:A30.

As you can see I need to use relative addressing for one part of the
range(A3) but not the lower limit (A30). Is this possible? If so how?

thanks

Lewis Brunton

 
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
INDIRECT with raltive name(s) Werner Rohrmoser Excel Worksheet Functions 0 April 9th 08 07:36 AM
Conundrum Saxman[_2_] Excel Discussion (Misc queries) 7 July 22nd 07 06:09 PM
VBA conundrum csi New Users to Excel 4 October 27th 05 08:02 PM
ISERROR Conundrum forumuser - ExcelForums.com Excel Worksheet Functions 1 August 10th 05 03:49 PM
Vlookup Conundrum Ladred Excel Programming 2 November 19th 03 05:42 PM


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