Microsoft
Software
Hardware
Network
Question : Copy and paste data from different workbooks
Hi Experts,
I need experts help to create a VBA code to copy(WB1) and paste(WB2) data from 2 different workbooks.
Workbook1(Copy)
Workbook Name: Detail Overtime
Sheet name: Data
Range to copy: B25:R42
Workbook2(Paste)
Workbook Name: Detail Report
Sheet name: Overtime
Range to paste: B3:R20
Both files are sitting in the same network folder which is \\bc01\Main\Data\Report. I’ll run this code in workbook2.
Hope Experts could help me to create this feature.
Answer : Copy and paste data from different workbooks
Got it.
Please change the line
wb1.Sheets("Data").Range("
B25:R42").
Copy _
wb2.Sheets("Overtime").Ran
ge("B3:R20
")
To
wb1.Sheets("Data").Range("
B25:R42").
Copy
wb2.Sheets("Overtime").Ran
ge("B3:R20
").PasteSp
ecial xlPasteValues
Random Solutions
How do I resolve this error "javax.xml.ws.WebServiceEx
ception .... Place the resource correctly in the classpath.?
IE is blocking my download of Adobe Flash, I'm getting install error.
Sign In Request from Outlook for calendars.office.microsoft
.com
How to change properties.settings after deployment of windows application
SCCM Software Report By Major Revision
Am I elegible for a free upgrade to Outlook 2010 with this?
Access user control function from master page
oracle forms record group question
Standard server 2008 to SBS premium 2008
How do I convert string to char?