ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Out of Memory Problem (https://www.excelbanter.com/excel-programming/295345-out-memory-problem.html)

Todd huttenstine

Out of Memory Problem
 
Sheets("Converted Data").Range("P2") = "=INDEX('[COGNOS
Followup Mismatches.xls]COGNOS Names'!$B:$B,MATCH
(N:N,'[COGNOS Followup Mismatches.xls]COGNOS Names'!
$A:$A,0))"

Hey guys the above code inserts an index formula into cell
P2. Everytime I run the code it asks me where COGNOS
Followup Mismatches.xls is located. I have to tell it
every time. Instead of having to do this, is there a way
I can put it in the code so it knows? It is located in...
Q:\Stats2004\Todds Reports\COGNOS Followup Mismatches.xls

Also when I navigate to it and click ok, I get the
error "Not Enough Memory". Why does this happen and how
do I fix this?


Thanks
Todd Huttenstine

Tom Ogilvy

Out of Memory Problem
 


Sheets("Converted Data").Range("P2") = "=INDEX('Q:\Stats2004\Todds
Reports\COGNOS [COGNOS
Followup Mismatches.xls]COGNOS Names'!$B:$B,MATCH
(N:N,'Q:\Stats2004\Todds Reports\COGNOS [COGNOS Followup
Mismatches.xls]COGNOS Names'!
$A:$A,0))"

--
Regards,
Tom Ogilvy


"Todd Huttenstine" wrote in message
...
Hey guys the above code inserts an index formula into cell
P2. Everytime I run the code it asks me where COGNOS
Followup Mismatches.xls is located. I have to tell it
every time. Instead of having to do this, is there a way
I can put it in the code so it knows? It is located in...
Q:\Stats2004\Todds Reports\COGNOS Followup Mismatches.xls

Also when I navigate to it and click ok, I get the
error "Not Enough Memory". Why does this happen and how
do I fix this?


Thanks
Todd Huttenstine





All times are GMT +1. The time now is 02:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com