Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mik Mik is offline
external usenet poster
 
Posts: 42
Default Run Macro when a cell within a range changes

I have a range of cells ("d4:d20").
The values of these cells can change depending on other aspects of the
spreadsheet.

When 'any' of the cells within the range ("d4:d20") change, i wish to
copy & paste the range to ("e4:e20").

I have searched the groups etc. and tried many different codes, but
had no luck so far.
Could anybody please assist?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run Macro when a cell within a range changes


Mik,

How are the cells in range "D4:D20" changing: manually, or by
formula?


Have a great day,
Stan


--
stanleydgromjr
------------------------------------------------------------------------
stanleydgromjr's Profile: http://www.thecodecage.com/forumz/member.php?userid=503
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=117561

  #3   Report Post  
Posted to microsoft.public.excel.programming
Mik Mik is offline
external usenet poster
 
Posts: 42
Default Run Macro when a cell within a range changes

On 19 July, 22:40, stanleydgromjr <stanleydgromjr.
wrote:
Mik,

How are the cells in range "D4:D20" changing: *manually, or by
formula?

Have a great day,
Stan

--
stanleydgromjr
------------------------------------------------------------------------
stanleydgromjr's Profile:http://www.thecodecage.com/forumz/member.php?userid=503
View this thread:http://www.thecodecage.com/forumz/sh...d.php?t=117561



Hello,

The cells are changing by fomula in this case.

Thanks
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run Macro when a cell within a range changes


Mik,

We may be able to use the "Worksheet_Calculate" Event to trigger the
copy of the range.

What are the 17 cells (D4:D20) returning: numerical values, strings?

Please post the formula in cell D4.


Or, please post your workbook (or sample) - scroll down and see "Manage
Attachments".


Have a great day,
Stan


--
stanleydgromjr
------------------------------------------------------------------------
stanleydgromjr's Profile: http://www.thecodecage.com/forumz/member.php?userid=503
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=117561

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
macro to select range from active cell range name string aelbob Excel Programming 2 July 14th 08 09:19 PM
Printing a cell range with a macro Agasnine Excel Programming 1 November 19th 05 10:28 AM
Call Macro when Cell within Range Changes Andibevan[_2_] Excel Programming 4 March 24th 05 04:28 PM
Macro run if and cell in range is selected in VBA Celtic_Avenger[_38_] Excel Programming 1 September 18th 04 04:51 PM
macro to find out the last cell in a range vikram Excel Programming 1 April 30th 04 06:53 AM


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