473,657 Members | 2,484 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Excel import process stops running

Dear reader,

One table in database A...mdb is linked to a table in database B..mdb.

As A..mdb is open and in B...mdb starts an excel import procedure the
progress bar shows that the import procedure stops. After the A...mdb is
closed the excel import procedure runs smoothly. The linked table in A..mdb
is not the same table as used for the excel import procedure. Is there
anyone who knows why the import procedure hangs when there is a link between
two mdb's.

Tanks fore any help.

Kind regards,

Simon
Oct 14 '06 #1
3 1941
I'm not sure I understanding exactly what you are describing.

Is this a vba procedure or what you are actually doing?

Is the table being accessed (in either database) whilst you import? ie
is the table open, locked in a related form, being used as part of a
query.

Why would you have both databases open at the same time?

Mat N

Simon wrote:
Dear reader,

One table in database A...mdb is linked to a table in database B..mdb.

As A..mdb is open and in B...mdb starts an excel import procedure the
progress bar shows that the import procedure stops. After the A...mdb is
closed the excel import procedure runs smoothly. The linked table in A..mdb
is not the same table as used for the excel import procedure. Is there
anyone who knows why the import procedure hangs when there is a link between
two mdb's.

Tanks fore any help.

Kind regards,

Simon
Oct 14 '06 #2
Dear Mat M,

The import procedure is a VBA procedure to import an excel sheet into a
table in the B......mdb.
Both databases are open at the same time because the A.....mdb is an other
application used by other users and requires information from a table in the
B......mdb. But the import table is not the same one as the linked table.

Regards,
Simon

"Mat N" <Ma******@gmail .comschreef in bericht
news:11******** *************@i 42g2000cwa.goog legroups.com...
I'm not sure I understanding exactly what you are describing.

Is this a vba procedure or what you are actually doing?

Is the table being accessed (in either database) whilst you import? ie
is the table open, locked in a related form, being used as part of a
query.

Why would you have both databases open at the same time?

Mat N

Simon wrote:
Dear reader,

One table in database A...mdb is linked to a table in database B..mdb.

As A..mdb is open and in B...mdb starts an excel import procedure the
progress bar shows that the import procedure stops. After the A...mdb is
closed the excel import procedure runs smoothly. The linked table in
A..mdb
is not the same table as used for the excel import procedure. Is there
anyone who knows why the import procedure hangs when there is a link
between
two mdb's.

Tanks fore any help.

Kind regards,

Simon

Oct 14 '06 #3
Is the imported spreadsheet a read only document or perhaps could
someone else have it open right then in edit mode.

If the code has Excel as visible=false it may be asking something but
since it is false it doesn't show and so cannot be answered.

Ron

Oct 16 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4302
by: yvan | last post by:
I am using Excel to save data. Everything works as i intend it to if no other instance of Excel is running. If another instance is running, it will do the job, but also close that instance. How can i prevent that from happening? Here is the code that creates and deletes the instance: class CExcel: def __init__(self, bVisible = 0): import sys import pythoncom
13
35524
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet and extract information from specific worksheets and cells. I'm not really sure how to get started with this process. I ran the COM Makepy utility from my PythonWin (IDE from ActiveSTate),
0
2121
by: me here | last post by:
I have a VBA subroutine that links an MS Excel spreadsheet and copies the data into a local table. This process is controlled by a form that allows users to select the spreadsheet from the file system. I actually import from two different named ranges from each workbook so for every import the following subroutine is used twice. The database is used to collate data collected from different surveys entered by remote users into an Excel...
8
3363
by: mytfein | last post by:
Hi Everyone, Background: Another department intends to ftp a .txt file from the mainframe, for me to process. The objective is to write a vb script that would be scheduled to run daily to process this .txt file. Goal: I am working on a vba script to:
5
3762
by: Maria L. | last post by:
Hi, I need to export the content of a DataGrid (in Windows application in C#), into an Excel spreadsheet. Anyone knows how to do this? Any code snippets would help! thanks a lot, Maria
0
1013
by: nikedog | last post by:
I realize that xl won't scale; this is only to import legacy data into sql server. My problem is that Excel stays resident in memory after the following code. I've tried many combinations but everything leaves Excel (running under the ASPNET user) as a process running Any advice suggestions, please.
5
6572
by: mabond | last post by:
Hi recently read a posting and reply about Excel processs still running after the Appliction.Quit was called. Thought I might be able to use the same (System.Runtime.InteropServices.Marshal.ReleaseComObject(exApplication)) to solve my problem but could not. Background : My app uses a WebBrowser control to display to the user the contents of an Excel spreadsheet.:
0
2741
by: liam_jones | last post by:
I'm very new to Python, well IronPython to precise, and have been having problems when using Excel. The problem I'm having is the closing of my Excel object. I'm able to successfully quit the Excel Application that I create, but when I open a Workbook in the Application I can't successfully Quit Excel (by this I mean I can quit it, but the Excel process isn't getting killed and I have to manually go this through Task Manager). I've...
7
2159
by: =?Utf-8?B?VGVycnkgSG9sbGFuZA==?= | last post by:
I have a vb.net app that opens an excel worksheet, reads data and then closes the sheet. Im noticing that the Excel process is still running after I have closed and disposed of my excel objects. The following code (Test1) demonstrates the essence of what I am doing. When I check the processes while ruinning the method, I notice that the Excel process remains after exiting the sub (and until I exit the application) Sub Test1 Dim...
0
8421
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8844
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8742
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8621
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7354
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6177
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1734
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.