473,503 Members | 11,237 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can one open a xls sheet as a subform?

5 3707
<je*********@pioneer.com> wrote

<nothing, just the question in the subject>

In every newsreader I've used, there's been this large area of white space
for posting your inquiry. It's a really good idea to use it instead of
putting your question in the Subject -- that almost always means you have
shortened it too much, and some news readers may not display it in full.

You can use a Bound OLE Frame to embed an Excel Spreadsheet (the user will
have to have Excel installed) or you can use the SHELL function to start up
Excel or you can hyperlink to the Spreadsheet. Thus, strictly speaking, you
cannot just open an XLS file as a subform, you can work with an XLS file
from Access.

Larry Linson
Microsoft Access MVP
Jan 27 '06 #2
je*********@pioneer.com wrote in
news:0c********************************@4ax.com:
Can one open a xls sheet as a subform?


One can link to an Excel spreadsheet, where it shows up as a table
in Access. You can do anything with this table that you can do with
a native table, except modify its structure.

You can write code to automate the linking process.

--
Bob Quintal

PA is y I've altered my email address.
Jan 28 '06 #3
Yes!

Link to the spreadsheet from Access and build your subform based on the
linked table.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
Over 1100 users have come to me from the newsgroups requesting help
re******@pcdatasheet.com
<je*********@pioneer.com> wrote in message
news:0c********************************@4ax.com...

Jan 28 '06 #4
Sorry Larry
I try to make my questions simple, yet thorough, that a message isn't
needed. Brevity you know. But the folks inthe group are opening the
posts anyway, I may as well use the white space. Point taken.

Anyway, I've already got the hyperlink method working, with a button.
Works fine. And while this does work, and it is simple to do, I was
looking for a way to do it elegantly (i.e. more work; but this is a
way for me to learn VBA as well).

Anyway, I have a need, while the user is entering/viewing data in a
form, to have, on that form, a cbo with a series of "document" names
(they may be Word, Powerpoint,graphics, excel, inhouse apps). Choosing
the document name brings the document up in a associated window (a
subform). All the app formats in question are part of a company-wide
install, they should be installed. In my business, data are
frequently photomicrographs, DNA sequence maps, Word documents of SOPs
and ISO9000 Procedures and Work Instructions, iGrafx flowcharts; not
that I intend to use all of these file formats in this way, but as way
of example.

It not as elegant to open an entirely new window for the document, as
that detracts from the immediacy of viewing the structured data in one
subform, and the unstructured data in the other form. One thing I
wonder about is that the subform window might be so small that the
document would not be able to be viewed effectively anyway.

How does Access handle two monitors?

Maybe one could view structured data in a form/subform, click on a
hyperlink to a document, and open the latter in a window in the other
monitor...hmmm. Interesting idea ! Many of use have two monitors per
machine because of the work we do.
Jerry

In every newsreader I've used, there's been this large area of white space
for posting your inquiry. It's a really good idea to use it instead of
putting your question in the Subject -- that almost always means you have
shortened it too much, and some news readers may not display it in full.

You can use a Bound OLE Frame to embed an Excel Spreadsheet (the user will
have to have Excel installed) or you can use the SHELL function to start up
Excel or you can hyperlink to the Spreadsheet. Thus, strictly speaking, you
cannot just open an XLS file as a subform, you can work with an XLS file
from Access.

Jan 28 '06 #5

"PC Datasheet" <no****@nospam.spam> schreef in bericht news:au*****************@newsread3.news.atl.earthl ink.net...
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
Over 1100 users have come to me from the newsgroups requesting help
re******@pcdatasheet.com


--
To Steve:
Over 300 users from the newsgroups have visited the website to read what kind of a 'resource' you are...

To the original poster:

Most people here have a common belief that the newsgroups are for *free exchange of information*.
But Steve is a notorious job hunter in these groups, always trying to sell his services.

Before you intend to do business with him look at:
http://home.tiscali.nl/arracom/whoissteve.html (updated)

Arno R
Jan 28 '06 #6

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

Similar topics

13
35482
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...
1
314
by: Richard | last post by:
Thats a mouthfull of a title what I'm after should be really simple. I have a form with a subform which itself has a subform the final subform contains an individuals record. The individuals...
1
1548
by: perryche | last post by:
All, I posted this earlier yesterday and here is more situation. Thanks to David, by the way, for his codes here. It kinds of work, but not always. I have a MainForm with a subform. When I...
2
1746
by: deko | last post by:
I have "Allow Design Changes" set to "Design View Only" in the property sheet for my subform datasheet. But when I have my cursor in a textbox and press Alt+Return, the property sheet for the...
4
3141
by: piscogirl | last post by:
Hi all, Here's my case: I have a form: Event Form and a subform: AttendanceSubForm The user selects a name (from a Person Table) on the subform to register for the event. If the name is...
14
24983
by: keri | last post by:
Hi, Simple version of the question..... How do I use the where clause of the open form command to show an account with a matching ID to be displayed when the form is opened? Eg. I select a...
3
4821
by: pleaseexplaintome_2 | last post by:
using the code below (some parts not included), I create a new excel workbook with spreadheets. I then want to delete a spreadsheet, but a reference remains open and excel stays in task manager...
2
2739
by: Bob Alston | last post by:
Any straightforward way to open a form with multiple subforms, where the main form and all subforms are opened in readonly status? If I run docmd.openform.......,acreadonly the main form is...
1
2294
by: Moish | last post by:
I have a form that does not have any bound fields. I want to open a subform on that form to a specific record based on the value of an unbound field on the main form. Obviously the subform is not...
0
7194
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,...
0
7070
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7267
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,...
0
5566
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,...
1
4993
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...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
729
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
372
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...

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.