Moving data from cells to cells based on an id

totabank

New Member
Joined
Mar 16, 2022
Messages
1
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Hi. I'm just new to VBA and I'm just wondering if someone can help me in writing a macro code for below:
When choosing the right id and clicking the button "Atualizar" it should automatically fill those cells with the data of another worksheet

1647423000203.png


1647423092211.png



1647423122953.png


It should see CL0001 and insert the name of client on the main worksheet
Thank you in advance.
 

Attachments

  • 1647423082385.png
    1647423082385.png
    10.2 KB · Views: 4

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,214,932
Messages
6,122,331
Members
449,077
Latest member
jmsotelo

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