473,385 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Excel and Access

Can an Excel spreadsheet or a section of one be embedded into an
Access form and serve as a subform from which other parts of the
Access form can get data? Thanks!

Aug 10 '07 #1
12 3773
If the spreadsheet is tabular, you can link to the spreadsheet using File -
Get External Data - Link. The spreadsheet will appear in your database as a
table. The link will be dynamic meaning changes to the linked table in
Access will automatically change the data in the spreadsheet and vice-versa.
Now that you have the linked table, you can create a subform where the
recordsource is the linked table.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
re******@pcdatasheet.com

"slinky" <ca***************@yahoo.comwrote in message
news:11**********************@q4g2000prc.googlegro ups.com...
Can an Excel spreadsheet or a section of one be embedded into an
Access form and serve as a subform from which other parts of the
Access form can get data? Thanks!

Aug 10 '07 #2

"Steve" <so***@private.emailaddressschreef in bericht news:13*************@corp.supernews.com...
If the spreadsheet is tabular, you can link to the spreadsheet using File -
Get External Data - Link. The spreadsheet will appear in your database as a
table. The link will be dynamic meaning changes to the linked table in
Access will automatically change the data in the spreadsheet and vice-versa.
Now that you have the linked table, you can create a subform where the
recordsource is the linked table.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
re******@pcdatasheet.com
--
This is to inform 'newbees' here about PCD' Steve:
http://home.tiscali.nl/arracom/whoissteve.html
Until now 3275+ pageloads, 2200+ first-time visitors (these figures are rapidly increasing)

To PCD' Steve: (this is also to inform those who do not understand...)
This is *not* about the sigline...(although you are far away from a 'resource' status).
But we will simply continue to hunt down *each and every* of your posts.

Why???
Because you are the ONLY person here who continues to advertise in the groups.

It is not relevant whether you advertised in *this* particular post or not...
==We want you to know that these groups are *not* your private hunting grounds!

For those who don't like too see all these messages:
==Simply killfile 'StopThisAdvertising'.
Newbees will still see this warning-message.

ArnoR
Aug 10 '07 #3
On Fri, 10 Aug 2007 12:24:20 -0700, slinky
<ca***************@yahoo.comwrote:

Yes, that is technically possible (it's called embedding an OLE
object; just drop an Excel object on a form in design view), but it is
practically rather complicated especially if you want to manipulate
this object programmatically.

Much better is to use the data from the Excel file as a Linked Table,
and use a standard Access subform to display the data.

-Tom.

>Can an Excel spreadsheet or a section of one be embedded into an
Access form and serve as a subform from which other parts of the
Access form can get data? Thanks!
Aug 11 '07 #4
Steve wrote:
>If the spreadsheet is tabular, you can link to the spreadsheet using File -
Get External Data - Link. The spreadsheet will appear in your database as a
table. The link will be dynamic meaning changes to the linked table in
Access will automatically change the data in the spreadsheet and vice-versa.
Now that you have the linked table, you can create a subform where the
recordsource is the linked table.

I think you are wrong about the link being two way dynamic.
A linked table to an Excel range is NOT updatable and it
has been this way for the last four years or so. The SP
that disabled this capability is so thorough that
Automation/OLE is the only(?) way to update Excel data from
Access.

--
Marsh
Aug 11 '07 #5
I created a dynamic link in an Access97 project for a customer some time ago
and it is still working. That's the only time I used that feature. For
future reference, I decide to test what you said. I have Office97, OfficeXP
and Office2003 installed. I created an Excel flle in Excel97, another file
in ExcelXP and another file in Excel2003. I then went to Access97 and linked
to the Excel97 file, AccessXP and linked to the ExcelXP file and Access2003
and linked to Excel2003. I found all three links to be two way dybanic
links. In all three I found changes to the linked table in Access will
automatically change the data in the spreadsheet and vice-versa.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
re******@pcdatasheet.com


"Marshall Barton" <ma*********@wowway.comwrote in message
news:c1********************************@4ax.com...
Steve wrote:
>>If the spreadsheet is tabular, you can link to the spreadsheet using
File -
Get External Data - Link. The spreadsheet will appear in your database as
a
table. The link will be dynamic meaning changes to the linked table in
Access will automatically change the data in the spreadsheet and
vice-versa.
Now that you have the linked table, you can create a subform where the
recordsource is the linked table.


I think you are wrong about the link being two way dynamic.
A linked table to an Excel range is NOT updatable and it
has been this way for the last four years or so. The SP
that disabled this capability is so thorough that
Automation/OLE is the only(?) way to update Excel data from
Access.

--
Marsh

Aug 12 '07 #6
See KB Article:
You cannot change, add, or delete data in tables that are linked to an Excel
workbook in Office Access 2007, Office Access 2003, or Access 2002
http://support.microsoft.com/kb/904953

Once you Update to SP2 the ability to directly update linked Excel tables
goes away unless you use Automation.

Len Robichaud

"Steve" <so***@private.emailaddresswrote in message
news:13*************@corp.supernews.com...
>I created a dynamic link in an Access97 project for a customer some time
ago and it is still working. That's the only time I used that feature. For
future reference, I decide to test what you said. I have Office97, OfficeXP
and Office2003 installed. I created an Excel flle in Excel97, another file
in ExcelXP and another file in Excel2003. I then went to Access97 and
linked to the Excel97 file, AccessXP and linked to the ExcelXP file and
Access2003 and linked to Excel2003. I found all three links to be two way
dybanic links. In all three I found changes to the linked table in Access
will automatically change the data in the spreadsheet and vice-versa.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
re******@pcdatasheet.com


"Marshall Barton" <ma*********@wowway.comwrote in message
news:c1********************************@4ax.com...
>Steve wrote:
>>>If the spreadsheet is tabular, you can link to the spreadsheet using
File -
Get External Data - Link. The spreadsheet will appear in your database as
a
table. The link will be dynamic meaning changes to the linked table in
Access will automatically change the data in the spreadsheet and
vice-versa.
Now that you have the linked table, you can create a subform where the
recordsource is the linked table.


I think you are wrong about the link being two way dynamic.
A linked table to an Excel range is NOT updatable and it
has been this way for the last four years or so. The SP
that disabled this capability is so thorough that
Automation/OLE is the only(?) way to update Excel data from
Access.

--
Marsh


Aug 12 '07 #7
MORE INFORMATION
Because of legal issues, Microsoft has disabled the functionality in Access
2003 and in Access 2002 that let users change the data in linked tables that
point to a range in an Excel workbook. However, when you make changes
directly in the Excel workbook, the changes appear in the linked table in
Access.

"Len Robichaud" <le***********@rqwproserv.comwrote in message
news:46***********************@news.corp.moreusene t.net...

See KB Article:
You cannot change, add, or delete data in tables that are linked to an Excel
workbook in Office Access 2007, Office Access 2003, or Access 2002
http://support.microsoft.com/kb/904953

Once you Update to SP2 the ability to directly update linked Excel tables
goes away unless you use Automation.

Len Robichaud

Aug 12 '07 #8
Steve wrote:
>I created a dynamic link in an Access97 project for a customer some time ago
and it is still working. That's the only time I used that feature. For
future reference, I decide to test what you said. I have Office97, OfficeXP
and Office2003 installed. I created an Excel flle in Excel97, another file
in ExcelXP and another file in Excel2003. I then went to Access97 and linked
to the Excel97 file, AccessXP and linked to the ExcelXP file and Access2003
and linked to Excel2003. I found all three links to be two way dybanic
links. In all three I found changes to the linked table in Access will
automatically change the data in the spreadsheet and vice-versa.

That experiment just demonstrates that your Office updates
for XP and 2003 are years out of date.

--
Marsh
Aug 12 '07 #9
I have SP-2 for OfficeXP and at least two service packs for Office2003. What
are the most current updates?

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
re******@pcdatasheet.com

"Marshall Barton" <ma*********@wowway.comwrote in message
news:k2********************************@4ax.com...
Steve wrote:
>>I created a dynamic link in an Access97 project for a customer some time
ago
and it is still working. That's the only time I used that feature. For
future reference, I decide to test what you said. I have Office97,
OfficeXP
and Office2003 installed. I created an Excel flle in Excel97, another file
in ExcelXP and another file in Excel2003. I then went to Access97 and
linked
to the Excel97 file, AccessXP and linked to the ExcelXP file and
Access2003
and linked to Excel2003. I found all three links to be two way dybanic
links. In all three I found changes to the linked table in Access will
automatically change the data in the spreadsheet and vice-versa.


That experiment just demonstrates that your Office updates
for XP and 2003 are years out of date.

--
Marsh

Aug 12 '07 #10
Steve wrote:
>I have SP-2 for OfficeXP and at least two service packs for Office2003. What
are the most current updates?

See Len's posts with links.

--
Marsh
Aug 12 '07 #11
"Steve" <so***@private.emailaddresswrote in message
news:13*************@corp.supernews.com...
>I created a dynamic link in an Access97 project for a customer some time
ago and it is still working. That's the only time I used that feature. For
future reference, I decide to test what you said. I have Office97, OfficeXP
and Office2003 installed. I created an Excel flle in Excel97, another file
in ExcelXP and another file in Excel2003. I then went to Access97 and
linked to the Excel97 file, AccessXP and linked to the ExcelXP file and
Access2003 and linked to Excel2003. I found all three links to be two way
dybanic links. In all three I found changes to the linked table in Access
will automatically change the data in the spreadsheet and vice-versa.
That goes to show that you don't have Office 2k3 *SP2* installed.

Aug 13 '07 #12
"Steve" <so***@private.emailaddresswrote in message
news:13*************@corp.supernews.com...
>I have SP-2 for OfficeXP and at least two service packs for Office2003.
What are the most current updates?
Some resource for Access and Excel you are. This issue has been common
knowledge for years.

Aug 13 '07 #13

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

Similar topics

8
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...
3
by: Mads Petersen | last post by:
I'm stuck in this code. Hope you can and will help me. I launch it from excel. I have made the following code work, but not as i whant. I need the ranges to be working with something like xlDown....
3
by: hari krishna | last post by:
hi, I am generating excel reports through vb.Net. After creating excel.application and the report is generated, each report leaves Excel in memory. I can see them in task manager in Process tab...
9
by: hari krishna | last post by:
hi, I want to send the data from dataset information to Excel through ASP.Net. there will be no XL installed on web server. web server is win 2000 server machine. I am using visual basic code in...
12
by: D. Shane Fowlkes | last post by:
This most likely belongs in another forum but I thought I'd start here. I have a COM Object written in VB6. The DLL will access MS Excel and use it's Object Library to write a customized report...
1
by: garry.oxnard | last post by:
Can anyone help me to solve a problem which involves switching from Access to Excel (then back to Access) programatically please? I have an Excel template which, on open, also opens an Access...
0
by: Grip | last post by:
Hi, I have gone throught the group and Microsoft's online help and have seen many suggestions but I am still seeking clarity: 1. I have an excel spreadsheet. Column A contains text that may...
3
by: rlntemp-gng | last post by:
RE: Access 2003/Excel 2003 Problem: After I close the Access application completely, I go out to the Task Manager and there is an Excel.exe object still sitting out there. My Access...
0
NeoPa
by: NeoPa | last post by:
Many of us have noticed that there are some very useful functions available to you when using Excel, but these same functions are not available, as standard, in Access. A particular issue I had...
16
by: Phil Stanton | last post by:
I have a form with a button which is supposed to open an Excel file (With lots of Macros /VBA) in it. The Excel file gets it's data from the Access program Here is the code Private Sub...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.