VBA Help

BarneyLTD

New Member
Joined
Sep 27, 2017
Messages
27
Hi all, i'm hoping someone can help me write a little code to perform the below action?

So, I have 2 workbooks. I need to copy cells A-E from the active sheet to a closed workbook and paste the values in to the first sheet (named Original Order) from cell A1.
The destination workbook resides in different locations so I need to be prompted to open the file. I also need this file to remain open so a copy can be saved in a shared folder.

Is this something that can be done?

I'm overhauling some processes for work so I might be back with a few more questions :)

Thanks in advance

Tom
 
EDIT:

all sorted, for now ;)

Thanks both for you support on this. its very much appreciated.
 
Last edited:
Upvote 0

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
You can manually filter and then wont need the filter code, just
Code:
wsFrom.Range("A:E")[COLOR=#ff0000].SpecialCells(xlCellTypeVisible)[/COLOR].Copy

    wsTo.Range("A1").PasteSpecial xlPasteValues

What is the table name?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,400
Messages
6,119,289
Members
448,885
Latest member
LokiSonic

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