Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hey all, good to come out here again.
I have some VBA that executes in "Private Sub Worksheet_Change", and it takes place whenever the user updates or makes changes to data on the spreadsheet. The user actually only makes changes in the C column but the rest of the spreadsheet refreshes accordingly. Anyway, part of my VBA access another Sheet and copies info from there to this sheet while also updating all the cells of the columns (except the C column). THE PROBLEM: As soon as the VBA starts changing the values on this sheet, it re-executes the "Private Sub Worksheet_Change" again and starts the Macro all over before it ever finishes. It gets caught in a never ending cycle?? So the VBA is activating itself because it produces a Worksheet_Change. But I only want it to run when the user changes a value in the C column???? I want to use "Worksheet_Change" instead of having a button that the user has to remember to push. What can I do? Please advise. DBAL |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Array functions ARGHH! | Excel Worksheet Functions | |||
Array functions ARGHH! | Excel Discussion (Misc queries) | |||
Recursion with user defined functions | Excel Programming | |||
worksheet_change vs. calculate, and worksheet_change not running | Excel Programming | |||
worksheet_change vs. calculate, and worksheet_change not running | Excel Programming |