Hello,
I have a macro that opens a specified woorkbook that changes every month. There are formulas which are pasted to range I1 of the new workbook to calculate the totals on this sheet. Everytime i run the code though, I get an error that says "Select method of range class failed" and Range("I1").Select is apparently the error. Here is the code... can anyone help?
![]()
Private Sub CommandButton2_Click() Dim Bkst As Variant Bkst = Range("D27").Value Range("D47:F50").Copy Workbooks.Open Filename:="Q:\CRS PAID FILE (Lai-Yin)\STATEMENT OF ACCOUNT\2008\" & Bkst Range("I1").Select ActiveSheets.Paste End Sub
Bookmarks