G
Guest
Where did you place the OpenRebates sub?
gm
gm
Dick said:gm
It worked without issue for me. I created this sub to open the workbook
Sub OpenRebates()
Workbooks.Open "C:\Dick\Ng\08Aug\Rebates.xls"
End Sub
Assigned that to a commandbar button and it all worked fine using XL2000 on
Win98SE (although I don't think the version matters in this case.)
The subs that you have in the ThisWorkbook module should be in standard
modules. Only use the ThisWorkbook module for event procedures (or other
class specific procedures). That's not the problem because it worked for me
as you sent it without modification, but you should move them anyway.
--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com
Thanks, I will use the email link from your blog site.