I want to update automatically list but there is error :
Compile error:
Block if without End If
Please Login or Register to view this content.
I want to update automatically list but there is error :
Compile error:
Block if without End If
Please Login or Register to view this content.
Last edited by HaroonSid; 03-23-2014 at 01:02 AM. Reason: solved
This compiles...Please Login or Register to view this content.
John
If you have issues with Code I've provided, I appreciate your feedback.
In the event Code provided resolves your issue, please mark your Thread as SOLVED.
If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.
an error :
(Run-time error '424'
Object required )
Please Login or Register to view this content.
the original code is this
in this code i want to add a new name or not and update data
Please Login or Register to view this content.
You want to add a new name to what?
Where does the new name come from?
If posting code please use code tags, see here.
Hello Norie FG
First u download the sample file
when u click Show Form
UserForm1 will pop up
in Lable "name" i defined a list ( range "a1:a11" ) in Combobox1
i choose a name from combobox and add some data
if i type a new name which is not in list then
a msgbox appers and ask ("do u want to add this name to list") if
i choose yes then this new name should be add in list (ragne "a1:a11")
and also record should be update
thanx
Hi haroon2015
I rewrote the Code rather than attemp to modify yours. Your use of Target Cells is inappropriate in this instance. The Code in the attached is a modification of this'---------------------------------------------------------------------------------------
' Module : Database Form
' DateTime : 31/08/2005 10:55. Updatede 08-02-08
' Author : Roy Cox
' Modified : jaslake 03/21/2014
' Purpose : Data entry form for Excel, with Search facility
'---------------------------------------------------------------------------------------
hello jaslake
Simply Just Awsome
thanx a lot very much for ur hardwork
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks