Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel vba SUB doesn't complete until closing app

I have a problem with an Excel VBA Sub. The sub takes a range of data
from a worksheet, and retrieves corresponding data from an Access
database, then displays the data on the worksheet.

The user types an number into the cell, and all of the corresponding
data is populated on the worksheet. There is never any problem if I
type, and press enter. But if I try to paste a number into the cell,
Excel appears to lock up ... I can't select another cell, and none of
my data is returned. As soon as I click the Red X to close the window,
I get the Dialog box asking if I want to save changes to the sheet, and
I click Cancel. Immediately all of the data is displayed perfectly, and
it appears that the sub has finished, and everything is working
perfectly again.

Wondering if anyone has any ideas out there? I've been trying to debug
for two days, and have thought about removing the ability of a user to
Paste, but it will be important for them to be able to paste a list of
item numbers into my app.

Any help would be greatly appreciated.

Thank you in advance for any advice!
Mark

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
Closing workbooks w/o closing Excel Barb in MD Excel Discussion (Misc queries) 3 February 15th 10 06:42 PM
Auto Complete (???) in Excel Alison Excel Worksheet Functions 1 December 4th 07 09:15 PM
Excel cannot complete this task starguy Excel Discussion (Misc queries) 7 April 14th 06 11:52 AM
Closing VB triggers closing Excel Minilek Excel Programming 2 August 6th 04 05:17 PM
closing excel after closing a workbook CWalsh[_2_] Excel Programming 3 January 21st 04 03:33 PM


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