April 25, 2017
Thanks,
Scotty81
Power Query
Power Pivot
Xtreme Pivot Tables
Excel for Decision Making
Excel for Finance
Excel Analysis Toolpak
Power BI
Excel
Word
Outlook
Excel Expert
Excel Customer Service
PowerPoint
November 8, 2013
Hi Scotty,
You cannot use formulas in this situation, you will have to control what happens only with macros. Use Worksheet_Change event to detect changes in column A, and calculate column B within macro only if it's empty. If column B is not empty, display an input box with the existing value and ask user to manually edit the existing value in the inputbox.
You know best your work flow, so you have to code to achieve your desired outcome.
You can also use the right click event to associate some actions, like auto recalculate the Asset codes.
Answers Post
April 25, 2017
Hi Catalin,
I eventually figured out a solution to my issue without having to "remember" a prior value in a cell. But along the way, I came across a nifty solution that did use the Worksheet_Change event. When it detected a change, it would first set a variable equal to the current value of the cell. Then, it would undo the latest change and record that cells (prior value). Then, it would paste the new value back in the cell, but one would still have the prior value to reference in code.
Thanks,
Scotty81
1 Guest(s)