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: 7
Default Macro to replace a range of cell values

Hello,
I have a bunch of excel files with several worksheets.

On the worksheet named TA in all files i have two cells R11 and R13, these
hold the row numbers of a begin and end point entered by the user
respectively.

I am having trouble writing a simple macro that will replace a range of
values in column K with the value of cell C2 after the user tabs out of
entering the value of R13.

C2 contains the formula =AVERAGE(B2:B150)

The range of K is determined by the values in R11 and R13.

Example:
C2 has the value .0013
R11 has the value 15
R13 has the value 25
After the user enters 25 in R13, cells K15 through K25 now have the value .
0013

Any assistance would be greatly approached. Thank you.

--
Message posted via http://www.officekb.com

 
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
Find and replace cell values Macro Ryan Excel Programming 2 July 24th 08 02:32 AM
Macro that will add multiple emails based on a range of cell values Tysone Excel Programming 2 May 27th 08 04:52 PM
Find and Replace Values in Range ThatGirlinMS Excel Programming 5 June 12th 06 05:41 PM
Replace Values in range selection Terri Excel Programming 3 December 28th 05 12:27 AM
Macro to insert formula result into range with zero values in cell JPS Excel Programming 9 July 6th 05 05:56 AM


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