ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,226
- Office Version
- 2007
- Platform
- Windows
Hi,
My database values start at row 6.
Customers names are in column A
I would like to select a customer then press the command button to open the customers details in my main database.
This is what i have but get a message saying Object Required
My database values start at row 6.
Customers names are in column A
I would like to select a customer then press the command button to open the customers details in my main database.
This is what i have but get a message saying Object Required
Rich (BB code):
Private Sub OpenCustomerInDatabase_Click()
If Intersect(Range("A6", Cells(Rows.Count, "A").End(xlUp)), Target) Is Nothing Then Exit Sub
Cancel = True
Database.LoadData Me, Target.Row
End Sub