It sound like the Focus of which workbook ror worksheet is active when the
code starts to run. You probably have to add into your code
workbooks("book1.xls").activate, worksheets("sheet1").activate, or
windows("book1.xls").activate.
> I have written a series of spreadsheets with cell logic for tax purposes, for
> here in australia we have a system of GST tax which is insane. Anyway, I have
[quoted text clipped - 8 lines]
> September. I have the K numbers for them but I don't know if that will help.
> It is driving me flaming nutty trying to figure out why. Any ideas?
academiac - 26 Sep 2007 10:42 GMT
I am not certain this is the answer. The reason I say that is because I use
the sheets all the time, shift between them, and it only seems to have
started doing this thing recently. I thought very carefully about my habits
to see if I had done something whacky, but I do things pretty much by
routine, which led me create the sheets in the first place to save time. I
have speculated to myself that because Excel goes into "compatability mode"
[whatever in the world that is!] that that might have something to do with
it, but I haven't had the time to research it out. Joel, thanks for posting
though, I will explore the issue tomorrow or the next day when I get some
sleep.:)
regards
Academiac aka Scott
> It sound like the Focus of which workbook ror worksheet is active when the
> code starts to run. You probably have to add into your code
[quoted text clipped - 13 lines]
> > September. I have the K numbers for them but I don't know if that will help.
> > It is driving me flaming nutty trying to figure out why. Any ideas?