Enter Formula on button click

On the attached spreadsheet I have 7 buttons where on clicking, I would like the below to happen on clicking


If PDF Country (Managed) is clicked then U23 = G2
If PDF Country (Booked) then U23 = G3
If PDF Global SM (Managed) then U23 = H2
If PDF Regional SM then U23 = I2
If PDF in-country! (booked) then U23 = J2
If PDF Sector (booked) then U23 = K3
If PDF Sector (Managed) then U23 = K2

Many thanks
Seamus
Copy-of-EE.xlsm
Seamus2626Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MacroShadowCommented:
Add the following to the macro executed on the buttons click

PDF Country (Managed)
Range("U23") = Range("G2")

Open in new window

PDF Country (Booked)
Range("U23") = Range("G3")

Open in new window

PDF Global SM (Managed)
Range("U23") = Range("H2")

Open in new window

PDF Regional SM
Range("U23") = Range("I2")

Open in new window

PDF in-country! (booked)
Range("U23") = Range("J2")

Open in new window

PDF Sector (booked)
Range("U23") = Range("K3")

Open in new window

PDF Sector (Managed)
Range("U23") = Range("K2")

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Seamus2626Author Commented:
Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.