How is solar variation affecting climate change?

The planet's long term warming and cooling is closely related to solar variation, but not the recent global warming and climate change.

Miltun Milankovich determined the temperatures historically and predicted future temperatures based on planetary orbits and proximity to the sun. This closely relates to the data found several decades later at Vostok.

A study (Usoskin 2005) compared the sun and climate over the past 1150 years and found that temperatures closely matched solar activity. However, since 1975, global temperatures have been rising but solar activity has been relatively steady.

So the recent global warming has not been caused by solar variation.