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

Copy only visible cells

I'm trying to copy visible cells after using my filter to another sheet in the same book but I'm not sure about this code. How it looks like now: Sub Button1_Click() Dim i As Integer Dim VisRan As Range VisRan =…
Seya
  • 91
  • 1
  • 3
  • 11
1
vote
1 answer

Anyone know how to stop Visual Studio 2005 editor formatting inserted text on a paste operation?

I grow tired of carefully hand indented multi-line function arguments or logic statements being reformatted on cut/copy - paste operations. i.e. code that started out like LPCTSTR FoldersToIgnore[] = { _T("_Disk"), …
1
vote
1 answer

How can I make my code running faster? Copy cells from one sheet to another

I've created this code which is copying all values from 'Sheet1' - starting in A2 cell to the first empty row of column 1 in Sheet2. In case that more cells are needed to be copied, it is running quite long. Is there a possibility to make it run…
Petrik
  • 823
  • 2
  • 12
  • 25
1
vote
2 answers

Excel - find a value and copy into different sheets

I need some help with a formula i am trying to make for a mark book. I have a work book, with a sheet labelled "Master" that contains students unique reference numbers in col A2, their names B2/C2 and then the four subjects they study in col…
Bryony309
  • 11
  • 1
  • 1
  • 2
1
vote
0 answers

Copy file from a remote server to a shared drive

I have seen many people talk about copying a file from a remote server to their local drive but I would like to copy a file from the remote server to another folder on the remote server or to my shared drive. I am trying to develop a Python GUI to…
user3347074
1
vote
2 answers

Error by doing Copy Paste with win32com (Glade GTK Python)

I have a simple function "Copy", for copy and paste with win32com. It runs several times without problems. But if i use a button(GUI GTK Glade) to trigger the function "Copy()", it runs only once. The second time i get the following…
1
vote
3 answers

Copy Range From One Sheet Paste Part of Range In Same Sheet Based On Cell Value On Another Sheet

Right now I've created a code to copy values from one range to another range based on the value from another sheet (the copy and paste happens on one sheet). But because this value can be one of twelve values, the range that is being copied and…
user979226
  • 47
  • 2
  • 11
1
vote
1 answer

Copy and Pasting UserControl causes resize

I'm developing in C#, and I'm creating a framework with lots of user controls. The problem I've got is that every UserControl I have is being resized (enlarged) when I copy and paste it within the designer. It is a very simple scenario to reproduce…
Cosmicjive
  • 185
  • 2
  • 12
1
vote
0 answers

Copy range in excel, find specific text in MSWord document, replace with clipboard image

I'm copying a range in excel as an image, and I want to insert it into a word document as replacement for dummy text "Qwerty01". Right now it opens the word document and pastes the image at the top - how can I get it to move the cursor to the dummy…
zliz
  • 59
  • 1
  • 2
  • 6
1
vote
2 answers

Copy Range, Offset Paste through entire file VBA

Simply, the data looks like this: ID | Value | Test | Score | 1 | 30 | a | b | 1 | 40 | c | d | 2 | 30 | d | a | 2 | 40 | e | c | ... for 130,000 lines. The value is always 30 or 40, i'd like to replace…
Dan
  • 91
  • 1
  • 2
  • 9
1
vote
1 answer

How can I emulate key press with copy & paste in an Infragistics UltraWinGrid?

I am using the Infragistics UltraWinGrid (version Win 9.1). The default behavior is to allow the user to type text into a cell. When one copies multiple cells from an Excel spreadsheet, only the first cell's data will be pasted into the…
Blanthor
  • 2,568
  • 8
  • 48
  • 66
1
vote
2 answers

How can I have my code scan through my data and copy certain selected rows of data and paste it to a different sheet?

So basically I have a bunch of data in wksht1 that I want to scan through to select all the rows that adhere to a certain if then statement (see code below) and then copies them to pastesht. I have my code so far but it gives me an error at line 20…
SRoy
  • 171
  • 2
  • 3
  • 8
1
vote
0 answers

Android Clipboard - Pasting an image or selected webpage content to webpage or any other view/viewgroup

I am trying to implement clipboard feature for my application. I am able to paste text but, It says " In many cases an application can paste various types of streams of data. For example, an e-mail application may want to allow the user to paste an…
Amit Patel
  • 1,795
  • 16
  • 20
1
vote
2 answers

How to copy text from listview in android?

How to copy the text from ListView?For copying text i am usin clipboard manager.But,It's not working. here is my code : @Override public boolean onItemLongClick(AdapterView arg0, View arg1, int arg2, long arg3) { // TODO…
Android_dev
  • 320
  • 1
  • 7
  • 26
1
vote
3 answers

Progam can't see file but it exist. FileNotFoundException

So, I'm writing FTP server-client but the code can't read any file. I mean. I have a file at Downloads. Let's say /Downloads/supplement2.pdf but I get a FileNotFoundException. Even though the file is there and I can see it. I even made a test folder…
Kevin
  • 561
  • 1
  • 7
  • 20
1 2 3
99
100