Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

More trouble with Excel forms

Status
Not open for further replies.

ninash

Technical User
Jul 6, 2001
163
GB
Hi Guys,

Is there a way of refreshing data in a form if the original data has changed.
eg. I have 2 user forms the first one displays information concerning the address of a client and also has a command button to open a second form that allows the user to change that information. However on exiting this form the original form still holds the old data.

I have tried to repaint the form but still the data refuses to update.... I am getting a little worried as this minor macro is now very late.

Thanks in advance
 
Where is your data being housed? In the spreadsheet somewhere? If so, you could use an onChange event to update your form....
 
Thanks I worked it out
While the second form had focus on the field in question I made a call to the other form to update it's own value. so when I return to the other form the values are correct.

Thanks for the suggestion but in the end it was just push it through and nothing as nice as a simple refresh on a form as you can do in full Visual Basic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top