Hi,
I'm not sure whether this has been asked before but, I have been doing some work looking for duplicates across my companies’ servers and I was wondering whether there is any way that the groups can be prevented to being formatted as dates and times within excel when pasting from the clipboard. I have also attached an example screenshot showing the format that excel imports the data from the clipboard as a time rather than a plain unformatted number.
Is this due to a colon “:” being put next to the group number in the search results in Xyplorer (screenshot attached), if so, is there any way to remove this?
Thanks very much.
Duplicate group formatting in Excel
-
CCarmichael
- Posts: 21
- Joined: 28 Apr 2022 13:07
Duplicate group formatting in Excel
To see the attached files, you need to log into the forum.
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Duplicate group formatting in Excel
Excel autoformats it so use a script:
Code: Select all
#111; // File | To Clipboard | All List Rows
copytext regexreplace(<clp>, "^(\d+):", "$1");
One of my scripts helped you out? Please donate via Paypal
-
CCarmichael
- Posts: 21
- Joined: 28 Apr 2022 13:07
Re: Duplicate group formatting in Excel
Highend,highend wrote: ↑28 Apr 2022 13:45 Excel autoformats it so use a script:
Code: Select all
#111; // File | To Clipboard | All List Rows copytext regexreplace(<clp>, "^(\d+):", "$1");
Thanks for this, would it be possible for some guidance on how to use the script?
Thanks again.
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Duplicate group formatting in Excel
And afterwards: CTRL+v in Excel...
To see the attached files, you need to log into the forum.
One of my scripts helped you out? Please donate via Paypal
-
CCarmichael
- Posts: 21
- Joined: 28 Apr 2022 13:07
Re: Duplicate group formatting in Excel
Thanks very much
-
admin
- Site Admin
- Posts: 67304
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Duplicate group formatting in Excel
FYI, if you just need the script rarely and a special button would be overkill, you can just paste this line into the address bar and press enter:
#111; copytext regexreplace(<clp>, "^(\d+):", "$1");FAQ | XY News RSS | XY X
XYplorer Beta Club