VBA Copy from one File to Another

freya306

New Member
Joined
Sep 9, 2015
Messages
5
I have never used a VBA before but i want to copy some cells from one file to another.
I want to copy cells that will be on an order form to a sales sheet to collate all sales in one place so stock can be updated.
This means that the number of rows to copy each time will vary, the data I want to copy is formated into a table but i dont want to copy the headings row of the table.
In the sheet I want to copy the cells to it is a big table that each time i want to add to, not override and previous cells copied by the macro, Also in the original sheet once i have copied the cells to the secondary sheet can i overide the cells?
for this case I shall call the original file 'Original.xlsx' in location C:\Users\Me\
and the new file 'New.xlsx' in the same location C:\Users\Me\

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Rijnsent

Well-known Member
Joined
Oct 17, 2005
Messages
1,151
Office Version
365
Platform
Windows
Hi Freya,
what you describe is very well possible with VBA and not insanely complicated (although a notch above "macros, the first steps"). Could you post your files to showcase what you have and what you're trying to achieve? That is: a dropbox/google drive/etc. link, as I don't know which part of the sheet needs to be saved etc.
Thanks,
Koen
 

Forum statistics

Threads
1,082,017
Messages
5,362,695
Members
400,686
Latest member
Aakash

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top