I've created a sheet which has several buttons on it and each button shows a userform with some inputboxes.
this works fine but now I'm trying to reduce the amount of userforms I have.
For Example, Button 1 shows userform1_Incoming and button 2 calls userform1_Outgoing. They are both the same with the only difference between them is that userform1_Incoming will write the word IN in a specific cell and userform1_Outgoing writes the word OUT in this cell.
Is it possible to use something like X="IN" and Y="OUT" inside the module and when userform1 is used, I can use the X or Y variable to write the specific cell ????
I hope I explained it clearly