Questions tagged [copying]

This tag refers to the process of making an exact duplicate of a file, database, etc.

0
votes
0answers
13 views

Using VBA to search data in Excel for a specific word, copy that row and 2 rows above and below into a new sheet

I am looking for some help with a large set of data I have. I need to be able to search the data for a particular word (using an input box), then specify how many rows above and below this row appears ...
0
votes
0answers
11 views

How to speed up my VBA collecting data from worksheets

I have a macro collecting data from different worksheets. I will copy my code below. It seems slow and it is probably due to my lack of skills in VBA Is there any help to get from the community to ...
1
vote
0answers
26 views

How is copy paste possible?

I was wondering after using computer for a long times it feels like copy paste was fundamental feature but I know it is not. So the question is how does this really work? I thought of all ideas how ...
-1
votes
1answer
18 views

Copying a powerpoint file

I am currently trying to work on a program to automatically copy a PowerPoint into another file when ran however I cannot use shutil as it cannot handle pptx files any suggestions would be appreciated....
1
vote
1answer
13 views

Overwriting content from one table to existing table

I have two different tables with two colums that have the same name, datatype and size. My issue: When I try to copy the content from one column to the other, update Table1 set Column4 = (select ...
-2
votes
1answer
32 views

Copying specific content from one word doc to another

I'm trying to automate copying specific content from one word document(table) to other document(tables(s)), Please see below image to understand what I'm trying to do. Please suggest on how to make it ...
0
votes
1answer
16 views

[Excel]Added a sheet from a different workbook, still getting “Update Values” Dialogue Box

I copied over a worksheet from 1 workbook to a more comprehensive one. In this copied worksheet, I've tried to have some cells automatically calculate based on the other worksheets. For instance Cell ...
0
votes
1answer
44 views

Multi System Database structure based copying/updating best practice

so after searching and not finding similar cases I want to open a new question. So here is the case: We are working with a large database with a very complicated data structure. Also we are working on ...
0
votes
0answers
11 views

Automate Rewriting New versions of image files Into Sub Folders That Contain the same files

I have a directory full of folders with sizes like this mainfolder/ folder100x100/ img.png folder100x100/ img.png folder100x100/ img.png folder200x100/ ...
-1
votes
1answer
38 views

How to get string with fullpath of files for copy files

I have directories (for example, 5555555) where stored files (files named "directory-date", for example 555555-181118). I get collection List with Directory.GetFiles(string) help. How I can get full ...
1
vote
1answer
34 views

Excel copying from multiple sheets not working vba

I have assembled this code together to copy different ranges from multiple sheets to master sheet. However for copyRng 7, instead of going underneath the copyrng6, it overwrites copyrng6. Sub ...
-3
votes
3answers
28 views

python scripts for copying and renaming

I am brand new python user and looking for help. Need python scripts which does copy and version up (rename) the existed file. I tried to create scripts for version up, but it just adds 001 + 1 = 2 ...
-1
votes
1answer
29 views

Copying failed with exit code 1

Somehow an image in my project became missing after moving it throughout the project. So, I delete the png image in question but I am unable to run my app using the simulator but end up with this ...
1
vote
0answers
20 views

Check the Succesfull Copy of a File

I am trying to make a file manager app in Android. I want to provide the user with an option to move their files. So first I am copying the Files then I am deleting the file if there is no error. ...
0
votes
0answers
14 views

Copy and paste data from multiple pages - last code adds a random superfluos row

When copying and pasting different sets of information form multiple sheets the code works until the final step 'find and pull in budget date. At this point I get an extra row of information which is ...
0
votes
0answers
71 views

Most efficient memory block transfer technique in 8051

I created my own system in 8051 in which a string of data in memory (bytes in consecutive spaces) must be copied from one memory location to another. Currently my block is five bytes. These are the ...
0
votes
1answer
11 views

Many different links to copy

var ShortCut = document.querySelector('.Copy_Link'); ShortCut.addEventListener('click', function(event) { var ShortCut = document.querySelector('.Copy_Container'); ShortCut.focus(); ...
0
votes
1answer
60 views

Is there a need for both the copy constructor and assignment?

I read two articles on stackOverflow,one describing the copy and swap idiom and the other talking about move semantics,but I fail to see why we need to swap in the assignment operator when the move ...
0
votes
1answer
54 views

p = p + 1 is not working?

Hopefully a quick questions. The code below works like I need it to, however, it does not seem to copy the row to the other sheet. In fact... excel seems to not do anything about the p = p + 1. I am ...
0
votes
1answer
49 views

Why do I explicitly need to .copy() a numpy array/list? [duplicate]

Why do I have to .copy() a numpy array (or list, though those don't have .copy() but make for a good minimal example) when I want to get an independend copy of it, while I don't have to do so with a ...
2
votes
1answer
51 views

How to do deep copying Objective-C

There is a class Patient with properties: @property (strong, nonatomic) NSString *name; @property (strong, nonatomic) Symptoms *symptoms; @property (assign, nonatomic) Status status; @property (weak, ...
0
votes
1answer
22 views

VBA - Proctecting but allowing copying to other sheets

I have the code below, where i want to protect almost everything and it Works fine, but i want to modify it, where the user is allowed to run a makro that copies to another sheet. If i run the macro ...
1
vote
1answer
38 views

copy from a list to another list with append() in python

i need to copy a some member of my list to a new list without removing from original list. i do this with append. see my code : def add_citizens(self, value): for i in value: ...
2
votes
2answers
94 views

Overcoming 255 character limit when copying and transposing

Basically in cells B42 and B43 I have more than 255 characters and my code breaks and gives RUN type error mismatch 13. when I am running the following line: CopyTranspose wb.Sheets("Apple")....
0
votes
0answers
21 views

Copying words from a string into an array of strings using malloc() and free()

This is the function we are given to store words from the inp string into the array_of_words array (each word gets an array slot). We have been asked to use malloc() and free() but my knowledge of ...
0
votes
2answers
74 views

Formula calculations too slow

I want to write an Excel macro: I have a few calculations with a starting value. There are over 100 of different starting numbers and I want to automate copying the starting value in the right cell, ...
0
votes
1answer
20 views

Trying to copy a local PHP page, creating a directory (if needed), place copy in directory, and rename

I have tried everything i can to get a php page to copy itself when it loads, create a directory if its not there already, and then place itself in said directory renamed. I have been googling for ...
1
vote
2answers
854 views

Copying values in one row to another in R

I'm trying to copy values from one row to another specified row in the corresponding column that has a value of NA. In this case--if the values in Row 1 are NA, they should copy values from Row 5. If ...
0
votes
0answers
22 views

Searching and Copying Files

The main objective is to Search the System for files and then copy them without using File Transfer Protocol (FTP) Need help building a program that searches the System [Windows] for all files with ....
0
votes
2answers
81 views

How can I create more instances of same object in C#? [closed]

There is a simple code: class Test { public int number; public void method() { Console.WriteLine("Something"); } } class Program { public static void Main(string[] args) ...
0
votes
0answers
21 views

Python : copying a drive & showing output of files being copied

Basically, i wrote the code below, which reads the ,hidden file and the outputpath to omit duplicate files and hidden files from the copy list. Then it adds \ between filenames which have two or more ...
1
vote
1answer
34 views

Issue copying invoice data from one sheet to another when payment is selected in Google Sheets

I am looking to save products that are chosen in an invoice to another sheet in the same workbook when a payment method is selected. Here is a copy of the sheet. https://docs.google.com/...
0
votes
1answer
412 views

Copying Multiple Ranges and Sheets

I am trying to copy multiple ranges from workbook into one sheet into another. I have tried to use MyMultipleRange but keep getting a message of "Method 'Union' of object_'Global' failed. Function ...
0
votes
0answers
13 views

How do i move files from a folder to its sub folders?

How do i move files from a folder to its sub folders? while the code may rename the files if there are files in the subfolders with the same names. The folders are like: 256 258 259 The files are ...
0
votes
2answers
31 views

copying oracle table with calculated indexes

I would like to know if I can copy oracle table content from another table with exactly the same structure. I want to copy all of the data (or sometimes a part of it), including the calculated indexes....
0
votes
1answer
690 views

copying lines from one file to another in python [duplicate]

Okay so my class assignment is to write the code to copy each line from one text file to a new text file. I feel like I've beaten my head against the wall too much and just can't see what I'm looking ...
1
vote
2answers
169 views

MySQL - Copying partial data from one table to another

This may be a silly question, and I understand why I'm getting the result that I am, however, I thought mySQL acted differently and I can't finish the documentation to tell me otherwise. I have 2 ...
1
vote
2answers
46 views

How to copy selection row from one Excel file to another

I want to write a macro that will copy a selected range of cells from one Excel file to another. I tried that code but it doesn't work. The only action that I see is that wbk and wbk 1 workbooks are ...
0
votes
2answers
205 views

Copying Multiple files with specific extension

So I have this little problem... (Windows 10 Education N x64) I am a GoldSrc engine developer and i am trying to achieve the following thing with Batch script or PowerShell, to do that automated ...
-1
votes
1answer
23 views

How to copy/move files without replacement

I have a backup of all of my data in two separate places. Usually the workflow is analyzing/modifying the data in one place and then backing it up by simply copying it to the other location. As data ...
0
votes
1answer
716 views

Appending one text file to another in Java

Good evening, I am entirely new to asking questions here, so sorry if I did this wrong. I am trying to append one whole .txt file to end of another one, on a new line, without rewriting the contents....
0
votes
2answers
769 views

Can't move a file in python? Errno 13- Permission Denied

this is my code: def unpack(folders): for folder in folders: files = os.listdir(folder) print (files) while len(os.listdir(folder)) != 0: for file in files: if os.path....
0
votes
0answers
253 views

Duplicate sheet containing macros to same workbook

Having a bit of difficulty duplicating a sheet (sheet 1) that contains macros to another sheet (sheet 2) in the same workbook without losing macro functionality. I am new to macros and maybe the ...
0
votes
1answer
678 views

Excel How To Repeat multiple values based on a Cell Value X Times

To Anyone who can help... Thanks in advance. Each row of item number, pack, and size is needs to be repeated multiple times in a separate sheet based on the number in the column "number of labels" (...
0
votes
1answer
71 views

Does setting A=B somehow mess with B? (all vectors) C++

Im making a function that matches two vectors of strings. As a part of that function I need to make a copy of the vectors. I would like to do that in the beginning of the function, but somehow it ...
2
votes
3answers
60 views

Copying to a Macro if there is a “-” in a certain cell (VBA)

I am trying to copy some cells in the same sheet if there's a "-" or a "/" in a certain cell. According to the number of "-" or "/" is the number of times it is going to copy. This is my code but it'...
1
vote
1answer
291 views

Excel Copying work sheet from another workbook into existing workbook

I am new to VBA and need a bit of help. I am looking to create code that does the following: I have three excel workbooks I am working with my master: Master.Xlsm NewEmployeeFile.xls ...
0
votes
1answer
138 views

CMake Copying Multiple DLLs Failing

So I have seen the other posts regarding moving external dll files to the current project's .exe output location for use at runtime but I seem to be running into an odd issue that I can't find ...
0
votes
0answers
55 views

C: Go through directory and copy files

Given the following functions: void copyFile(const char *src, const char *dst) { FILE *file1, *file2; file1 = fopen(src, "r"); if (file1 == NULL) { perror("Cannot open source ...
0
votes
1answer
29 views

Coping images (bitmaps) massively in vb.net by clicking a button

I create a project and one of its features is to copy images (or bitmaps) by clicking a button. What I mean is that by clicking once only one small picture will be shown, by clicking an other one time ...