tintin1012000
Board Regular
- Joined
- Apr 27, 2011
- Messages
- 237
Below macro is copy of one from a different workbook, It works fine on the other work book but it wont work in a new one
Any ideas ?
Sub Macro1()
Dim weekno As Integer
Dim wbname As String
weekno = Sheet1.Range("B25").Value
wbname = "wk" & weekno
Sheet1.Range("D55").Value = "='\\IEMAFS001\VOL1\APM\Prodqty\Electronic shift book\8882\Line 1\[" & wbname & ".xls]Graphs'!$Q$47"
End Sub
Any ideas ?
Sub Macro1()
Dim weekno As Integer
Dim wbname As String
weekno = Sheet1.Range("B25").Value
wbname = "wk" & weekno
Sheet1.Range("D55").Value = "='\\IEMAFS001\VOL1\APM\Prodqty\Electronic shift book\8882\Line 1\[" & wbname & ".xls]Graphs'!$Q$47"
End Sub