Data entry form using VBA

tanasescu490

New Member
Joined
May 16, 2023
Messages
1
Office Version
  1. 2016
Hi guys!

My name is Eduard and I am fairly new to VBA. I have a hard time finding a way to create a form that allows me to send values from an entry point to a "so called database". What I need exactly is a code that will allow me to copy
values from 2 cells to another 2 cells in another sheet. Those two cells are dynamically changed based on two criteria (P.O.D and Month) and basically the values should be pasted at their intersection. The form is on Sheet1 and database on Sheet2. When I change the Month and ID, enter the values for SUM1 and SUM2 and press the button called "TRIMITE" the values from SUM1 and SUM2 should be copied on the same raw as ID and on the right column based on Month. Basically at the intersection between ID's raw and Month columns (SUM1 and SUM2).
I know that this is not the happiest structure to work with but I couldn't find another solution since there are over 330 total IDs that should have data populated in the right cells for each month. I'll provide any other information requested if my post isn't clear enough.

Thank you!

EDIT:
By P.O.D I'm referring to ID. I did a mistake there.
 

Attachments

  • 1.png
    1.png
    11.2 KB · Views: 13
  • 2.png
    2.png
    22.2 KB · Views: 16
Last edited by a moderator:

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

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