basically im sure this is very simple to do, i just cant get my head around it.
Im new to this by the way
Ive created a macro to switch to a different workbook (details.xls) that is already open and it selects the sheet Customers, it is then assigned to open the data entry form. This all works, however when it opens the data entry form details from customer number 1 is already inputed in the form.
the code at the moment is..
Sub NewCustomer()
'
' NewCustomer Macro
' Macro recorded 04/05/2001 by J Corry
'
'
Windows("Details.xls".Activate
Sheets("Customers".Select
ActiveSheet.ShowDataForm
End Sub
but what i want is it to clear the data entry form's contents or make a new record so that there are no details entered once it opens.
if you know of anyway to do this please help me
Thanks
Jonny
Im new to this by the way
Ive created a macro to switch to a different workbook (details.xls) that is already open and it selects the sheet Customers, it is then assigned to open the data entry form. This all works, however when it opens the data entry form details from customer number 1 is already inputed in the form.
the code at the moment is..
Sub NewCustomer()
'
' NewCustomer Macro
' Macro recorded 04/05/2001 by J Corry
'
'
Windows("Details.xls".Activate
Sheets("Customers".Select
ActiveSheet.ShowDataForm
End Sub
but what i want is it to clear the data entry form's contents or make a new record so that there are no details entered once it opens.
if you know of anyway to do this please help me
Thanks
Jonny