r/VisualStudio • • 16d ago

Visual Studio 2019 i cant paste date in a date box

i have a system which is built by other company using visual studio.

So im trying to copy a date cell from excel to my system but it doesnt paste.

i have tried:

  1. formatting cell to a date format.
  2. Ctrl + v
  3. Shift + insert

but nothing works. please help me

Update :

i found a work around it. just change your laptop's date to your selected date and the system will give you the NEW default date.

which is good because i have too many datas from excel/papers (in a date sort) to paste it in my system. This will save me at least 20-40mins while using macros.

0 Upvotes

4 comments sorted by

1

u/Legitimate-Bridge280 15d ago

i found a work around it. just change your laptop's date to your selected date and the system will give you the NEW default date.

which is good because i have too many datas from excel/papers (in a date sort) to paste it in my system. This will save me at least 20-40mins while using macros.

7

u/gronlund2 16d ago

I don't think the purpose of this sub is to troubleshoot any and all applications ever developed in visual studio.

3

u/jshine13371 16d ago

It's not natively possible based on the type of control they used to display the date. Ask the company who built it to add the functionality.

3

u/marmotta1955 16d ago

It is not going to work, ever. I shall not even try to explain why in technical terms, other than the "date" control in the Visual Studio application is not a standard textbox and therefore will not accept a paste operation.