Macro Assistance
Solved/Closed
DCecil07
Posts
30
Registration date
Monday 15 March 2010
Status
Member
Last seen
15 September 2010
-
21 Apr 2010 à 10:01
DCecil07 Posts 30 Registration date Monday 15 March 2010 Status Member Last seen 15 September 2010 - 7 May 2010 à 09:52
DCecil07 Posts 30 Registration date Monday 15 March 2010 Status Member Last seen 15 September 2010 - 7 May 2010 à 09:52
Related:
- Macro Assistance
- Excel online macro - Guide
- Excel run macro on open - Guide
- Macro for number to words in excel - Guide
- How to copy macro from one workbook to another - Guide
- Samsung smart tv activate vocal assistance - Guide
3 responses
rizvisa1
Posts
4478
Registration date
Thursday 28 January 2010
Status
Contributor
Last seen
5 May 2022
766
21 Apr 2010 à 10:30
21 Apr 2010 à 10:30
try this. It is assuming both books are open
Sub copyData()
Workbooks("CAS GROUP SETUP AUDIT.xlt").Sheets("CAS Group Setup Audit").Range("D8:D268") = Workbooks("GSU CAS Transactional Upload.xls").Sheets("Alliance Upload").Range("C3:C263").Value
End Sub
Sub copyData()
Workbooks("CAS GROUP SETUP AUDIT.xlt").Sheets("CAS Group Setup Audit").Range("D8:D268") = Workbooks("GSU CAS Transactional Upload.xls").Sheets("Alliance Upload").Range("C3:C263").Value
End Sub
DCecil07
Posts
30
Registration date
Monday 15 March 2010
Status
Member
Last seen
15 September 2010
21 Apr 2010 à 11:11
21 Apr 2010 à 11:11
I created the button and added your code, I rec'd a Runtime '9' error.
rizvisa1
Posts
4478
Registration date
Thursday 28 January 2010
Status
Contributor
Last seen
5 May 2022
766
21 Apr 2010 à 11:16
21 Apr 2010 à 11:16
Hard to tell without seeing the book. Could you please upload sample files on some shared site like https://authentification.site and post back here the link to allow better understanding of how it is now and how you foresee.
7 May 2010 à 09:52