LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,872
Default Copying a formula to a range

Hi Brian,

Am Wed, 22 Oct 2014 06:36:47 -0700 (PDT) schrieb Brian:

my problem is determining how to make the formulas the same number as the number of entries in column CY.


LRow is the last cell in column CY:

Dim LRow As Long

LRow = Cells(Rows.Count, "CY").End(xlUp).Row
Range("CZ1:CZ" & LRow).Formula = "Your formula"


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
 
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
Copying a formula that contains a range of cell rows Anita D Excel Discussion (Misc queries) 4 January 17th 07 10:00 PM
copying formula from one cell to a range John Smith Excel Programming 1 November 24th 06 06:18 AM
Copying Formula into a Dynamic Range Big H Excel Programming 0 October 23rd 06 11:34 PM
Problem copying formula to range of cells Bob DePass Setting up and Configuration of Excel 0 July 22nd 05 02:09 AM
Copying formula to the bottom of a range jeremy nickels[_2_] Excel Programming 2 February 28th 05 07:27 PM


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