This code isn't working. I have it in a module. I get the "Compile Error: Sub or Function not defined"
Please Help!![]()
Please Login or Register to view this content.
Thank you
This code isn't working. I have it in a module. I get the "Compile Error: Sub or Function not defined"
Please Help!![]()
Please Login or Register to view this content.
Thank you
Try
It runs but whether it is what you want is another matter as I doubt the result in RES is what you desire![]()
Please Login or Register to view this content.
Last edited by WasWodge; 09-20-2012 at 09:15 PM.
If my solution worked (or not) please let me know. If your question is answered then please remember to mark it solved
Computers are like air conditioners. They work fine until you start opening windows. ~Author Unknown
Hi perducci,
workbooks("P&L data macro.xls")
LastRow = Application.CountA(Range("A1:A10000"))
Oldman Chatting: thanhmy_pham@yahoo.com Mailing: thanhmypham@gmail.com
After reading the post from ptm01412 (I hadn't looked at your Workbook activate line) and with the comment I made at at the end of my last post below is what I suspect you are trying to do.
![]()
Please Login or Register to view this content.
Thanks guys!
I had changed the name of the sub, I'm not sure if that had something to do with it. I re-started excel and used your code WasWodge and it worked! So again, thank you.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks