Create a comment from another sheet

Roger96_

New Member
Joined
Jun 28, 2021
Messages
5
Platform
  1. Windows
Good afternoon to all,

I’m trying to put comments on cells that correspond to information from another sheet in the same book. (I attach images to make it more understandable.) On the “Data” sheet I have different features and percentages and on the “Info” sheet I have a table with the corresponding information for features and percentages. I would like to create comments on the “Data” sheet with the Information on the other sheet. Is IT possible to create a code where the data looks for the corresponding information on another sheet? For example: in the Data sheet the cell C3 corresponds to networking and 0%. Is it possible that it looks in the Info table of B1:G1 for the corresponding percentage and in A2:A8 for the corresponding feature? In this case it would be B3 and you will create a comment with this information?



I have excel version 2008, I’m not very used to work with VBA that’s why I’m struggling with it.



Thank you so much in advance and I hope you all have a great day and start of the week!

——————————————————



As additional information, I had previously created a code with fixed cells and everything worked fine but the Data and Info table will get bigger and sometimes rows and columns will be added in the middle of the table, so the rows and/or columns will expand and the information no longer corresponds to the code. ):
1B838FC0-BF97-47E2-84E4-C3AFA205790A.png
 

Attachments

  • 84336B10-2681-4C68-BF22-32EB27FE4C22.png
    84336B10-2681-4C68-BF22-32EB27FE4C22.png
    133.4 KB · Views: 20

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,223,909
Messages
6,175,310
Members
452,634
Latest member
cpostell

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