Dynamic column/ would like to link macro to cell and value.

CSJohns

New Member
Joined
Jul 31, 2013
Messages
1
Ecel 10' and windows 7
I have a sheet and the values of D3 through Dxx change depending on inputs from another tab in the same workbook. I am trying to use a macro that will take me to the corresponding page number for that changing field. I would like to be able to click on the cell to take me there, but first things first. see image for example of changing column. The Button1 will take me to a certain page of a PDF. I'm thinking I need an if-then type logic to read what page number is in the column and then depending on that pull the url to the pdf document. There are multiple PDF's and multiple page numbers. obviously I can't use the button for this purpose. I would like to use the cell next to the number. I'm using the code at the bottom to currently get to the pdf. I have done a little programming in the past, but am just getting back into it and this is a little much for me.. any help would be appreciated.

Thanks.

Capture_zps9af8adb8.gif
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,223,246
Messages
6,170,987
Members
452,373
Latest member
TimReeks

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