Can we us this code , I guess no :D
any Idea how to do it ???
When using the AddAndNew click , I need it to check if TextBox1 has a value if ComboBox1 was selected !!!![]()
Please Login or Register to view this content.
Can we us this code , I guess no :D
any Idea how to do it ???
When using the AddAndNew click , I need it to check if TextBox1 has a value if ComboBox1 was selected !!!![]()
Please Login or Register to view this content.
I'm not entirely sure what you are trying to do but the code you posted has a problem in that you don't have a matching number of "If" and "end If". So you could try:
![]()
Please Login or Register to view this content.
Thank you yudlugar,
what I need to do , when doing the save button ,
I need it to check if ComboBox1 if it has a value or text , then cant do the saving if textbox1 is empty !
I tried the end if but I guess the code part where is
is wrong![]()
Please Login or Register to view this content.
That looks ok to me, it could be the Me part that is causing a problem. Try replacing "Me" with the name of the userform/location of the boxes.
If you could upload an example workbook it might be easier to find the problem.
the used form "Expenses"
it will stuck now where is the end if
try to fill the second exps line without a value , then click save !!! it must give a warning that the amount of the second row is empty
Copyexpw.xlsm
Last edited by Shacker; 05-13-2013 at 11:41 AM.
There is a password on the VBA project..
I uploaded another one , sorry
try the new one at the same place
Copyexpw.xlsm
Copyexpw.xlsm
sorry for that :D
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks