VBA: find value of a cell in a named range tab from other sheet, then write something in the next column of the same row

captainflo22

New Member
Joined
Mar 26, 2020
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
Hello,
I have a file who's the first sheet act as a Main menu, where I make some tab's, Named all to be able to move something and avoid error.

I have an employee tab, containing multiple column, and some vba code to select the employee name then a checkbox to make a new sheet with all employee data's., based on a hidden template sheet.
everythings work well.
For now I want to make a button on each employee sheet who report on the main sheet if completion is done.

Here i'm stuck, because i want it to be dynamic based on the value of the employee cell, look in the main tab, then write on the 7th column of the tab

I tried with Vlookup, but i can't get the address of the cell to edit

could you help me?

thanks
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hello,
I have a file who's the first sheet act as a Main menu, where I make some tab's, Named all to be able to move something and avoid error.

I have an employee tab, containing multiple column, and some vba code to select the employee name then a checkbox to make a new sheet with all employee data's., based on a hidden template sheet.
everythings work well.
For now I want to make a button on each employee sheet who report on the main sheet if completion is done.

Here i'm stuck, because i want it to be dynamic based on the value of the employee cell, look in the main tab, then write on the 7th column of the tab

I tried with Vlookup, but i can't get the address of the cell to edit

could you help me?

thanks
 

Attachments

  • Employee 1.png
    Employee 1.png
    124.8 KB · Views: 5
  • Employee 4.png
    Employee 4.png
    125.7 KB · Views: 6
  • Setup.png
    Setup.png
    181.2 KB · Views: 6
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,973
Members
449,200
Latest member
Jamil ahmed

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