cmefly
Well-known Member
- Joined
- May 13, 2003
- Messages
- 683
hi,
can someone suggest why this macro won't work?
thanks,
cmefly
Sub Macro4()
sheetname = InputBox("Enter the EXACT File Name of the Application you with to extracted data from")
Range("c103").Value = _
"=INDIRECT(""'"" & ""[""&sheetname&""]""& ""4. 2003 Data & 2005 "" & ""'!"" & ""d22"")"
End Sub
can someone suggest why this macro won't work?
thanks,
cmefly
Sub Macro4()
sheetname = InputBox("Enter the EXACT File Name of the Application you with to extracted data from")
Range("c103").Value = _
"=INDIRECT(""'"" & ""[""&sheetname&""]""& ""4. 2003 Data & 2005 "" & ""'!"" & ""d22"")"
End Sub