LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Problem with a macro

Okay, more information on this problem...

Here's what's happening now. This code is part of a much large
project, so I copied just this module over to another workbook to mak
it easier to work with while trying to fix this problem.

This new workbook contains nothing but the code listed above, and th
code which loads the two workbooks involved, with buttons to fire eac
sub (same as in the original workbook)

It runs fine. Same identical code that crashes in the other project
running on the same two workbooks that it runs on in that project.

In the problematic project, I start excel from scratch, load th
workbook containing all my code, click 'load files', click 'update fun
list' and it crashes at the first time it tries to insert a row.

In the test project, I start excel from scratch, load the workboo
containing all my code click 'load files', click 'update fund list' an
it works without a problem, even inserting about 8-9 rows as it runs.



Ok, so I thought maybe my original workbook was damaged somehow.
copied all my remaining code from the original project over to the ne
project. Re-run the test and it crashes at the first time it tries t
insert a row.



Anyone have an idea what to try next?

Could I be running into some sort of memory limitation in Excel?
recall hearing about an 80meg formula area in some versions. Could I b
tripping that limit in the bigger project? But since the smaller projec
doesn't have all the extra modules in it, it works?

Can anyone help me

--
Message posted from http://www.ExcelForum.com

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro Problem John Calder New Users to Excel 1 June 2nd 09 02:06 AM
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable Enda80 Excel Worksheet Functions 1 May 3rd 08 02:35 PM
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable Enda80 Excel Discussion (Misc queries) 1 May 3rd 08 10:52 AM
Macro problem tweacle Excel Worksheet Functions 0 February 15th 06 08:26 PM
macro problem Kevin Excel Discussion (Misc queries) 1 December 14th 04 10:47 PM


All times are GMT +1. The time now is 06:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"