Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Needles
 
Posts: n/a
Default HOW DO I COPY THE LAST NON BLANK CELL IN A COLUMN

I am trying to create a macro that will copy the last non-blank cell in a
running total column that appears on a number of worksheets to a summary
worksheet in the same workbook. Any suggestions?
  #2   Report Post  
Max
 
Posts: n/a
Default HOW DO I COPY THE LAST NON BLANK CELL IN A COLUMN

Try Bob Phillips' marvellous coverage at his page at:
http://www.xldynamic.com/source/xld.LastValue.html
(Formula and vba solutions provided)
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Needles" wrote in message
...
I am trying to create a macro that will copy the last non-blank cell in a
running total column that appears on a number of worksheets to a summary
worksheet in the same workbook. Any suggestions?



  #3   Report Post  
 
Posts: n/a
Default HOW DO I COPY THE LAST NON BLANK CELL IN A COLUMN

macro recorder
in absolute mode
select the range(cell) you want to start
in relative mode
press end and then the down arrow
right click mouse~copy
now in absolute mode select the cell you want to paste, and paste
now select the range you want to be at and stop recording

this may have to be recorded in relative mode and absotlute because if
you only use absolute mode the macro will always stop at the same
cell,when in macro recorder click on the square button, if it appears
depressed, then you are in relative mode

Practice this a few times before you record the macro because it is a
pain to record a macro and then find out you forgot something
Dave

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
How can I copy values from one cell in a column down to the next c GSingh Excel Discussion (Misc queries) 9 August 16th 05 11:18 AM
Copy one cell to entire column Tom Excel Discussion (Misc queries) 3 April 28th 05 03:26 PM
How do I copy every 8th cell in a column siverfox19482 Excel Discussion (Misc queries) 2 March 16th 05 05:47 PM
how to create a variable column in cell reference Sampson Excel Worksheet Functions 3 February 21st 05 10:13 PM
How do you copy a cell formula down a column without displaying n. Coddie Excel Worksheet Functions 4 January 18th 05 02:31 PM


All times are GMT +1. The time now is 11:34 AM.

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"