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
2 answers

Excel VBA: How to copy entire range including hidden columns

I'm looking for a VBA Macro to export data to a csv. I found this code which after some tweaking does a great job. However, when copying from a range, Excel seems to ignore hidden columns while I want the CSV to contain all the columns. Has anyone…
tzvi
  • 471
  • 3
  • 5
  • 19
1
vote
1 answer

Vim puts a lot of tab characters when pasting code from clipboard

I copied the code from github page. When i pasted it on my vim editor, it puts four tab characters for every indented block. It looks like this, All tab characters are printed as ^I because of set list in .vimrc. my .vimrc looks like this, set…
user2879704
1
vote
1 answer

Tips on debugging copy and paste into PowerPoint 2010

I have a custom application in C++ that has been used to successfully copy-and-paste an object from the application into MS Office 2003 and 2007 (Word, Excel and PowerPoint). The object opens in our own custom ActiveX control. Now with Windows XP…
user236520
1
vote
5 answers

copy & paste a picture from one sheet to another

I created a small program using the following code to transfer a picture from one sheet to another in the same workbook. Sub transferPicturesPAPER_EXAM(pictureNo As Long, p As Integer, srcSht As String, dstSht As String, insertWhere As String) ' …
J_Smith
  • 11
  • 1
  • 1
  • 3
1
vote
3 answers

How to cut/paste a line in WebStorm, keeping indentation?

I started using Webstorm, and I can't figure out to how cut/paste a line keeping the exact same indentation. In Jade file: .something ul li label -->Cut this line<-- li label some text I put the cursor at the beginning of the…
Victor Lyuboslavsky
  • 9,882
  • 25
  • 87
  • 134
1
vote
0 answers

Copy text from table row generate extra space for each IE9

I'm having a auto adding space issue when copying text on simple table:
foo bar bar2
with a combination of meta tag below:
Santo
  • 127
  • 1
  • 8
1
vote
2 answers

Preserve number format when copying very many digits from a Text Box

I have a long number in a Text Box: 032010203010301030103010300103010301032010101030103007 When I want to copy this number (Ctrl+c) into a cell, the number will be: 3.2010203010301E+52 I want the destination cell to have the original number…
javad
  • 105
  • 1
  • 2
  • 13
1
vote
0 answers

Adding more actions to right click on Windows "copy and paste"

I need some ideas of adding more actions to right click on Windows copy & paste when dealing with files. Our users need to have a function that opens a file when they Paste a copied item to a new location. I was thinking to create a HTA window with…
Root Loop
  • 3,004
  • 9
  • 46
  • 72
1
vote
1 answer

Excel copy/paste values/comments/formats intermittent VBA failure

I have a very large Excel file with 14k+ lines of code and 320+ sheets in it. The file's VBA imports data from other Excel spreadsheets, does some calculations and "exports" the results. The "export" involves opening a new workbook and copying…
tom_j_uk
  • 147
  • 1
  • 2
  • 7
1
vote
1 answer

Inconsistency with Running Macros Copy/Paste

When I exclusively run the Sub "EmailAbertura" (below) I get the desired result. However, when I run it within a list of other subs it copy and pastes a number that isn't even on the sheet. Why would that be occuring? Thanks! Sub…
New2VBA
  • 347
  • 2
  • 6
  • 17
1
vote
2 answers

Copy & Paste custom tags in CKEDITOR 4.0

I have some custom tags inside my HTML. Like text. I want to copy this whole tag and paste the same. When i try to copy i am getting only the text, i know editor will support only valid html tags. Like copy and paste the…
Ramesh
  • 1,073
  • 6
  • 24
  • 53
1
vote
4 answers

Delete text from copied text

I would like to use JavaScript to clean up text that’s being copied from my site. I use snippets like this: body { vertical-align: middle; ➊ } Where ➊ indicates comment later on. I want readers to copy this snippet and use it – so I need to…
riddle
  • 655
  • 1
  • 6
  • 9
1
vote
1 answer

copying active sheet into another workbook: Copy Method of Range class failed

I want my code to copy the entire worksheet(SOURCE) and paste it into some other worksheet(TARGET) under other workbook(WHERE_I_WANNA_PASTE_IT) and save it. I am getting this error: Run=-time error '1004': Copy Method of Range class failed on…
J Lee
  • 21
  • 1
  • 2
  • 7
1
vote
1 answer

FXSCopyButton Not working in IE, how to copy to clipboard in IE

I have the following code on my page that displays a text box with a copy button after it(places the contents on your clipboard)... public showDialog(): DataLab.Util.Promise { var p = DialogViews.ShowApiCode.show(this); …
Dan Ciborowski - MSFT
  • 6,807
  • 10
  • 53
  • 88
1
vote
1 answer

Excel Macro to copy all cells containing current array value and paste them to a new workbook

I've been given a spreadsheet that contains a list of furniture suppliers in Column C. The other columns contain information about the different furniture products they stock. My task is to copy all the cells containing information about those…
Doug92
  • 45
  • 7