View Single Post
 
Old 03-10-2017, 11:52 AM
NoSparks NoSparks is offline Windows 7 64bit Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

Your code is errant in the declaration of row1, it should be Long and the Set row1= line should be removed.

What workbook is your code in?

Your verbiage says to first copy a value from an open workbook.... I don't see any attempt to do this.
The B21 you're using is on the same sheet as you are looking for it in the just opened workbook.
Reply With Quote