Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 191
Default one less than range filldown statement

Have the following code:

Range(Selection, Selection.End(xlDown)).Select
ActiveCell.Range("A1:A112").Select
Selection.FillDown
Selection.End(xlDown).Select

Trying to start from a cell, ctrl-shft-down to next cell, and then go one
cell LESS than that range, then filling down. How do I get that "one less"
part after it fills down (or as part of the selection)?

Thx.
--
Boris
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default one less than range filldown statement


This'll do it:

range(activecell, activecell.end(xldown).offset(-1,0)).filldown


Col


--
colofnature
------------------------------------------------------------------------
colofnature's Profile: http://www.excelforum.com/member.php...o&userid=34356
View this thread: http://www.excelforum.com/showthread...hreadid=560728

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 191
Default one less than range filldown statement

worked like a charm. Thx much.
--
Boris


"colofnature" wrote:


This'll do it:

range(activecell, activecell.end(xldown).offset(-1,0)).filldown


Col


--
colofnature
------------------------------------------------------------------------
colofnature's Profile: http://www.excelforum.com/member.php...o&userid=34356
View this thread: http://www.excelforum.com/showthread...hreadid=560728


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
Filldown? & Cmb? Jennifer Excel Programming 1 May 16th 06 04:28 AM
Variable Range Length & .FillDown? Jason Paris Excel Programming 2 May 2nd 06 07:58 AM
FillDown Macro Nick Junod Excel Worksheet Functions 3 February 6th 06 10:10 PM
IF Statement not Displaying FILLDOWN results Automatically CondtllyFrmttd Excel Programming 3 August 16th 05 08:06 PM
FillDown Mike Fogleman Excel Programming 2 November 18th 03 10:46 PM


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