LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
jai jai is offline
external usenet poster
 
Posts: 71
Default Run-time error'-2147417848 (80010108)':

Hi Nick,
Thanks a lot for your inputs. They helped very much. Firstly, I tried
simply disabling screen updates. This allowed a "more graceful hang" - in
the sense that Excel could now close the VBA code window and the source &
destination workbooks. Excel could not exit however and required the Task
Manager to terminate.

The row copy and insert worked like a shot. Only, I do not want to copy
the complete row information. Will find a way to block out. Will column hide
help??

But the larger problem is still interesting. I have screen shots of
various stages. can I post them somewhere so that the "background boys" can
take a look at Excel itself to see how it can act with more grace?

Thanks once again for your very helpful inputs

Jai

"Nick Hebb" wrote:

It could be all the Activate's, Select's, and screen updating causing
the memory consumption. The code you wrote could be condensed into:

Application.ScreenUpdating = False
SUWb.Sheets(SUName).Rows(FIRSTROW & ":" & FIRSTROW + nos).Copy
MasterWb.Sheets(Catg).Rows(FIRSTROW & ":" & FIRSTROW).Insert
shift:=xlDown
Application.ScreenUpdating = True

----
Nick Hebb
BreezeTree Software
http://www.breezetree.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
error: 2147417848 aundrea New Users to Excel 1 September 22nd 08 08:50 PM
Macro does not work after the program has been restarted in excel.Run time error 2147417848 (80010108) Method visible of object_worksheet failed [email protected] Excel Programming 7 August 24th 05 03:11 PM
Excel Bug: Run-time error '-2147417848 (80010108)' majikman[_18_] Excel Programming 1 May 13th 04 08:16 PM
Automation error -2147417848 (80010108) mbobro[_5_] Excel Programming 2 April 8th 04 01:10 PM
Run time error 2147417848(80010108) Praveen Excel Programming 4 December 18th 03 10:23 AM


All times are GMT +1. The time now is 10: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"