I have a Sheet of data with a button on it. When I click in a row to identify the row of information I want to use... and then click a button on the worksheet - a Form opens and I transfer the individual cell values that I want to look at onto the form. Everything works, but when I close the form and click another cell and click the button again to launch the form I see the old records. Then I have to close the form and open it again... then the new information comes up. It's like my code hasn't recognized the ActiveCell.Row has changed right away. Is there a way to make it recognize the new ActiveCell.Row before opening the form?
A piece of the code below...
Code:
OFFICEVIEWTRANSfrm.Show
'transfer data from ActiveRow
OFFICEVIEWTRANSfrm!MLSNUMBERbox.Value = Sheets("Office View").Range("A" & (ActiveCell.Row)).Value
OFFICEVIEWTRANSfrm!CLOSEDATEbox.Value = Format(Sheets("Office View").Range("I" & (ActiveCell.Row)).Value, "dd-mmm-yy")
OFFICEVIEWTRANSfrm!STATUSbox.Value = Sheets("Office View").Range("J" & (ActiveCell.Row)).Value
OFFICEVIEWTRANSfrm!AGENTNAMEbox.Value = Sheets("Office View").Range("D" & (ActiveCell.Row)).Value
Thanks in advance,
SnayJ