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>
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
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
 
Upvote 0

Forum statistics

Threads
1,214,806
Messages
6,121,672
Members
449,045
Latest member
Marcus05

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top