Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Jemmeyson wrote:
I tried your VBA in a new blank worksheet and CELL A5 is not recording the old value from A4 regardless of Saving and Closing the workbook. Any further thoughts on this? Make sure my code is in the ThisWorkbook object, not a module. Also, is there a way to dynamically see the change as opposed to closing and re-opening the sheet? You could move the Workbook_BeforeClose code to Workbook_BeforeSave, but you'd need to remove this line: Me.Save Then A5 will update every time you save. -- The best sound in the world is the laughter of children. Unless it's night and you live alone. Then it's the most terrifying sound. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating excel file, adding code to it from code, VBE window stays | Excel Programming | |||
while my c# code running ,clicks on excel document interrupts code | Excel Programming | |||
Excel code convert to Access code - Concat & eliminate duplicates | Excel Programming | |||
stubborn Excel crash when editing code with code, one solution | Excel Programming | |||
Excel XP VBA code to search all macro code in Excel module for specific search string criteria | Excel Programming |