Questions tagged [copy-paste]

For issues relating to cut, copy, and paste operations.

The term "copy-and-paste" refers to the popular, simple method of reproducing text or other data from a source to a destination. It differs from cut and paste in that the original source text or data does not get deleted or removed. The popularity of this method stems from its simplicity and the ease with which users can move data between various applications visually – without resorting to permanent storage.

Source: Wikipedia

3477 questions
1
vote
1 answer

Middle-button paste from vim to R

In vim, I use the indentLine plugin and set list listchars=tab:\ \ ,trail:. is activated in my vimrc, so that vim displays begin-of-line spaces as pipes "|" and end-of-line spaces as dots. When mouse-selecting in vim and pasting into the R console…
meriops
  • 997
  • 7
  • 6
1
vote
4 answers

Excel-What is a cleaner way in Excel to copy over the data?

I am trying to do an import of data where the amount of items will change daily and I will only have to run the macro to copy the data over to the workbook. What I current have works. I just believe that this is not the most efficient way. I…
1
vote
1 answer

jquery how to stop users from pasting on textbox

I have a textbox named title and I would like to block people from being able to paste to it so that whatever content is in that textbox the user created it themselves by typing into it.You can see from below that i'm using the title textbox on…
user1591668
  • 2,591
  • 5
  • 41
  • 84
1
vote
1 answer

Why does text copied from a set of pre tags have double line-breaks?

I'm writing a small library to render Git diffs in a side-by-side format, in HTML. As one would expect, the left panel represents the previous commit and the right panel represents the current one. I'd like for either panel to be able to use the…
halfer
  • 19,824
  • 17
  • 99
  • 186
1
vote
1 answer

VBA runtime error - 1004 when trying to format or delete cells after pasting values

I am trying to use VBA to make my life easier but I keep getting a problem which I can't work around. Basically what I want is to copy some values from several output csv files I've got, to a nice formatted excel file. Then according to some bases…
PetGous
  • 81
  • 10
1
vote
1 answer

When pasting data from one workbook to another, overalpping data or data not showing at all.

I'm new to VBA so not exactly sure how this all works but I've got the jist. I am trying to import data from multiple workbooks into one workbook that is created by the program. I have got the main importing done correctly (although not…
Samiko
  • 191
  • 1
  • 3
  • 11
1
vote
1 answer

Problems with D&D and CCP for custom TransferHandler

I have trouble implementing a custom TransferHandler for a JTree which uses a custom TreeModel. The problem comes from the specific TreeModel I use to manage my data. As far as I understood, in swing Drag & Drop works like this: User starts…
1
vote
1 answer

'Server threw exception' when pasting image in Word header (VBA)

In an Excel vba script I try to copy a picture from Excel and paste it in my Word header with the following code: Set objWord = CreateObject("Word.Application") Set objDoc = objWord.documents.Add Set WRng =…
Laurent Crivello
  • 3,809
  • 6
  • 45
  • 89
1
vote
0 answers

Inserting text into Excel with Python creates Bubbles

Using Python to enter text into an Excel file, I have a little problem that occurs with Excel 2010. It is however working with Excel 2013. I've tested on 2 different PC's. On one Pc with Excel 2010, Excel crashes, on the other, it enters these kind…
user2366975
  • 4,350
  • 9
  • 47
  • 87
1
vote
0 answers

Windows, Watching a folder in C#

I have a folder which contains some read-only files. I found out that with a so-called WatchService [1][2] I can monitor create, delete or modified events in this folder. But what I need is a notification when a user opens, copies and/or moves one…
Chris
  • 3,057
  • 5
  • 37
  • 63
1
vote
1 answer

Copy-Paste Items in Petrel using Ocean...?

In Petrel, is it possible to COPY-PASTE items in input tree using ocean? I need to have a copy of a specific well or strategy somewhere; how can I do this? For example if I want to have a copy of this well (myWell): Tubing =…
user3636337
  • 113
  • 1
  • 6
1
vote
1 answer

Excel Macro cut and paste cells with loop

I'm working with lots of data from a clinical study at the moment. For an analysis in SAS I have to change the the arrangement of the data that is stored in an excel table. This means hours of copy and paste if I'd do it manually, so I tried to…
s.erhardt
  • 77
  • 1
  • 3
  • 9
1
vote
2 answers

Modifying data in SAS: copying part of the value of a cell, adding missing data and labeling it

I have three different questions about modifying a dataset in SAS. My data contains: the day and the specific number belonging to the tag which was registred by an antenna on a specific day. I have three separate questions: 1) The tag numbers are…
1
vote
3 answers

How to send text from my text editor to a Processing-Sketch

This question is in reference to my earlier post (which was put on hold). https://stackoverflow.com/questions/24091606/push-text-from-java-applet-to-processing-sketch I have developed my own text editor with multiple text editing areas in…
melkhaldi
  • 899
  • 2
  • 19
  • 40
1
vote
3 answers

Excel copy all values from sheet 1 & 2 that are highlighted/yellow to sheet 3

I have an excel workbook with 3 sheets, the first two contain lots of data and the third is blank. I want to create a macro that copies all the highlighted/yellow cells from sheet 1 & 2 and pastes them in sheet 3. I have some code in a macro which…
Matt
  • 14,906
  • 27
  • 99
  • 149