VBA-code for linking two worksheets together

All_Might61

New Member
Joined
Aug 25, 2021
Messages
1
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hello everybody,

I hope you are all doing well and having a nice day so far.
I need to write a short vba code for my boss and I hope, that you can assist me.
There is one sheet called "Evaluation". There is a cell range from B24-B35 with certain actions to reduce costs and their frequency.
The first action type is in B24 defined, the last one in B35.
I have to place a macro button in C24. Should one select the button, he/she should immediately get to the second worksheet "Cost potential",
where the preferred filtre in column B is automatically set on the action type as defined in B24.
Furthermore, I should be able to use the code for every possible action type.
Unfortunately, my vba skills are not the best, so I hope, that you are able to help me guys :)

I habe sth like this in mind:
IF (B24="action rejected", then go to work sheet "Cost potential" with the filtre "action rejected" in column B and show me all actions with this particular type.

Thanks in advance for all your help!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
The requirement isn't clear. It would make sense to post examples of the Evaluation and Cost potential sheets.
 
Upvote 0

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