Excel VBA search cell value and select action if the value exist or not

Nanouna

New Member
Joined
Jan 11, 2014
Messages
1
Hy, I made 2 tabs : "Affaires" and "Actions" .

For "Affaires" it's OK: I have my input info Form and my Search and VisualizeFom

Bu for Actions I have a problem: Actually my form allow me to insert data but it's creating a new line each time.
I want the program to check in the "Actions" Tab if the Affaire number (which is in a COmbobox of my Action Form) already exists.
If yes: insert the data of the input form onte same line
If not: create a new line and insert data

Thanks for your help

Nanouna
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,214,520
Messages
6,120,017
Members
448,937
Latest member
BeerMan23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top