How can i get the selected DateTimePicker Value to the Excel cell using C# in Windows Forms
<p>Could some one suggest me the correct code for that.
I tried with :</p>

<pre><code>Range("A1").Value = UserForm1.DTPicker1.Value
</code></pre>

<p>But it doen't work.</p>