Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 211
Default Excel hangs on 'shtA.Cells(person_row, 1).EntireRow.Insert' comman

I have a fairly complicated spreadsheet, with a good deal of VB code behind
the macro buttons. In the middle of processing a large file, Excel 2002 seems
to get caught up on itself doing the fairly simple command:
shtA.Cells(person_row, 1).EntireRow.Insert Shift:=xlDown,
copyorigin:=xlFormatFromRightOrBelow

Are there any bug fixes that stop Excel 2002 from hanging during an insert
command?
Are there any equivalent commands that are less prone to causing Excel
2002(10.6713.6804) SP3 to hang?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Excel hangs on 'shtA.Cells(person_row, 1).EntireRow.Insert' comman

Gordon,
I can't test it (no xlFormatFromRightOrBelow), but does it make a difference
if you remove the "copyorigin" argument ?
Do you have error trapping in the routine ?

NickHK

"Gordon" wrote in message
...
I have a fairly complicated spreadsheet, with a good deal of VB code

behind
the macro buttons. In the middle of processing a large file, Excel 2002

seems
to get caught up on itself doing the fairly simple command:
shtA.Cells(person_row, 1).EntireRow.Insert Shift:=xlDown,
copyorigin:=xlFormatFromRightOrBelow

Are there any bug fixes that stop Excel 2002 from hanging during an insert
command?
Are there any equivalent commands that are less prone to causing Excel
2002(10.6713.6804) SP3 to hang?



Reply
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
Access denied when running Excel from DOS prompt with runas comman Cam Excel Discussion (Misc queries) 3 April 27th 10 08:42 PM
Access denied when running Excel from DOS prompt with runas comman Cam Excel Discussion (Misc queries) 1 April 22nd 10 06:59 PM
Excel hangs when remove some cells Fixthebox Excel Discussion (Misc queries) 1 September 7th 06 01:35 AM
Macros cells.EntireRow.Hidden = True and Range.Sort are stopping Adrian Excel Programming 0 March 22nd 06 01:59 AM
Entirerow.delete based on multiple cells tom[_7_] Excel Programming 5 December 15th 05 09:25 PM


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

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

About Us

"It's about Microsoft Excel"