copy destination values only

spq24

Board Regular
Joined
Jan 18, 2010
Messages
52
Hello,

I have one sheet that has access connections in it so it obviously puts this data into a table. I am looking to copy the values from 6 different queries on 6 different sheets from this workbook to another workbook into 6 different sheets.

Is it possible to use the copy destination: between two workbooks and paste special values only?
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
I use this code quite frequently:

Code:
Sub CopyPasteValues()
Set wbsource = ThisWorkbook
Set wbDestination = Workbooks.Open("FilePath")
'Could Also Be Workbooks.Add()
 
wbDestination.Sheets("Sheet1").Range("A1:A1000").Value = wbsource.Sheets("Sheet1").Range("A1:A1000").Value
 
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,299
Members
452,904
Latest member
CodeMasterX

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