connect a form to excel database

I have a database in excel which lists our stock and prices etc. I would like 
to be able to enter a stock number on an invoice that will retrieve the 
details and price from my excel database. Can this be done?
0
Kathy1 (132)
10/5/2005 5:31:12 AM
excel.misc 78881 articles. 5 followers. Follow

5 Replies
329 Views

Similar Articles

[PageSpeed] 45

Excel has built in option--try data|form.

If that doesn't quite work, but it's close, John Walkenbach has an enhanced
dataform at:
http://j-walk.com/ss/dataform/index.htm

And if you want to design your own, Debra Dalgleish has a get started with
userforms:
http://contextures.com/xlUserForm01.html

Kathy wrote:
> 
> I have a database in excel which lists our stock and prices etc. I would like
> to be able to enter a stock number on an invoice that will retrieve the
> details and price from my excel database. Can this be done?

-- 

Dave Peterson
0
petersod (12004)
10/5/2005 11:12:55 AM
Kathy
    Yes, this can be done several ways.  One way is to use VLookUp formulas 
in the pertinent cells of your form.  Or you can write a macro to do it. 
Look at VLookUp under Help and see if it fits with what you have.  Post back 
with more details about the layout of your form and database and where each 
is located if you need more.   HTH   Otto
"Kathy" <Kathy@discussions.microsoft.com> wrote in message 
news:754C9390-55F9-4042-AE07-F5A458D8FB76@microsoft.com...
>I have a database in excel which lists our stock and prices etc. I would 
>like
> to be able to enter a stock number on an invoice that will retrieve the
> details and price from my excel database. Can this be done? 


0
ottokmnop (389)
10/5/2005 11:23:06 AM
Thanks Otto,
I've never used Excel a lot so I will study up on your info and try it, 
thanks for your help, will let you know how I go.
Cheers,
Kathy

"Otto Moehrbach" wrote:

> Kathy
>     Yes, this can be done several ways.  One way is to use VLookUp formulas 
> in the pertinent cells of your form.  Or you can write a macro to do it. 
> Look at VLookUp under Help and see if it fits with what you have.  Post back 
> with more details about the layout of your form and database and where each 
> is located if you need more.   HTH   Otto
> "Kathy" <Kathy@discussions.microsoft.com> wrote in message 
> news:754C9390-55F9-4042-AE07-F5A458D8FB76@microsoft.com...
> >I have a database in excel which lists our stock and prices etc. I would 
> >like
> > to be able to enter a stock number on an invoice that will retrieve the
> > details and price from my excel database. Can this be done? 
> 
> 
> 
0
10/7/2005 11:53:40 PM
Thanks Very much Dave I'll try that.
Kathy

"Dave Peterson" wrote:

> Excel has built in option--try data|form.
> 
> If that doesn't quite work, but it's close, John Walkenbach has an enhanced
> dataform at:
> http://j-walk.com/ss/dataform/index.htm
> 
> And if you want to design your own, Debra Dalgleish has a get started with
> userforms:
> http://contextures.com/xlUserForm01.html
> 
> Kathy wrote:
> > 
> > I have a database in excel which lists our stock and prices etc. I would like
> > to be able to enter a stock number on an invoice that will retrieve the
> > details and price from my excel database. Can this be done?
> 
> -- 
> 
> Dave Peterson
> 
0
10/7/2005 11:56:54 PM
Hi Otto,
It worked a treat thankyou so much.

"Otto Moehrbach" wrote:

> Kathy
>     Yes, this can be done several ways.  One way is to use VLookUp formulas 
> in the pertinent cells of your form.  Or you can write a macro to do it. 
> Look at VLookUp under Help and see if it fits with what you have.  Post back 
> with more details about the layout of your form and database and where each 
> is located if you need more.   HTH   Otto
> "Kathy" <Kathy@discussions.microsoft.com> wrote in message 
> news:754C9390-55F9-4042-AE07-F5A458D8FB76@microsoft.com...
> >I have a database in excel which lists our stock and prices etc. I would 
> >like
> > to be able to enter a stock number on an invoice that will retrieve the
> > details and price from my excel database. Can this be done? 
> 
> 
> 
0
10/10/2005 5:17:06 AM
Reply:

Similar Artilces:

Pasting data from Excel
Hello everyone, I'm not sure if I should be posting this question here or in the Excel forum but here goes. Is it possible to copy data from multiple cells in Excel and then paste them into multiple lines of the criteria section of an Access query? For example, Given cells and values: A1- 1 A2- 2 A3- 3 I would like to be able to copy this data from Excel and paste it into an Access query like : Criteria: 1 or: 2 3 I am using Access 2002 SP3 and Exc...

Excel Drop Down Box
I'm trying to edit an excel worksheet that has drop down boxes. However, the drop down boxes are not typical forms. These drop dow boxes appear to be normal cells (They contain text). When I click o the box, a little gray box shows up w/ a down arrow to the right of th cell. However, if you right click on the cell, there aren't an property options that are displayed. I was wondering if anybody had any idea what kind of drop down box thi is. How can I edit or create one -- Message posted from http://www.ExcelForum.com It sounds like it's under Data|Validation. chris313 wr...

How to use outlook address in Excel
Hello, I have an Excel sheet which I use as an invoicing-application. I would like to retrieve address-data from Outlook where I keep all my contact-data of my customers. So, I want to select a customer from my Outlook contactlist when I am writing a new invoice in Excel. In Word, I have a macro which does this, but unfortunately the Application.GetAddress does not work in Excel. Can somebody help me ? "Henny Slokker" wrote: > Hello, > > I have an Excel sheet which I use as an invoicing-application. I would like > to retrieve address-data from Outlook where I...

Hidden files in Ms-Query cause ODBC connect errors or Query is wac
I have a Query fetch_from_bob that moves data (collapses records,unique key search, etc...) from excel spreadsheet "bob" to excel spreadsheet "fred". Fred and bob live in the same directory" c:\123directory" on the same computer. I allow this query to execute/refresh data automatically when one of the query paramaters is changed. This works great. I also have a macro that invokes the query to refresh the data whenever the user desires. This works great as well. The macro literally has all the VB code to execute the query. But I'm just a part time progra...

how to select multiple text boxes in excel for formatting
I am trying to select multiple text boxes for formatting the font but seem unable to select all of them other than to click on each one individually. Is there an easy way to select all of the text boxes at once? To select multiple objects on the sheet -- Click on one object Hold the Ctrl key, and click on additional objects To select all the objects on the sheet -- Choose Edit>Go To, click Special Select Objects, click OK Or, to work with specific objects, you can add the 'Select Multiple Objects' tool to one of your toolbars: Choose Tools>Customize Select the Commands tab...

excel margin issues on landscape
When I print a spreadsheet I cant get it to print to the full page - it prints smaller unlike older excel program. Also when i set the margins for a spreadsheet the left hand margin wont move over to the edge of page like right hand side? In Page Setup: If you are using the Scaling option to print to a certain number of pages wide by pages tall and/or you are using the columns to repeat at left, try: - clearing the number of pages tall value (so that it is blank), and/or - if you are printing to one page wide, remove the columns to repeat at left Simon "Peter MB" wrote: >...

Printing data forms
I would like to be able to print Excel data forms. Is there a way? In some event of the form (a button, a click of the form itself, whatever): Me.PrintForm "Curious" <anonymous@discussions.microsoft.com> wrote in message news:170101c47bf9$f9191420$a301280a@phx.gbl... >I would like to be able to print Excel data forms. Is > there a way? If you mean the form you get when you do Data=>Form with the form displayed, do Alt+Print Screen. then drop the form and go to a new worksheet and do Edit=>Paste This will put an image of the form on the worksheet and yo...

Excel macro list
In Excel 2003 I used to be able to list all macros in a workbook by pressing Alt+F8. Now all I get is a series of ribbon help letters... What's changed? Is there still a way of accessing macros via Alt+F8? Any suggestions appreciated. Hi, ALT+F8 works for me in E2007. What do you mean by 'I get is a series of ribbon help letters' Mike "pbaker6" wrote: > In Excel 2003 I used to be able to list all macros in a workbook by pressing > Alt+F8. Now all I get is a series of ribbon help letters... What's changed? > Is there still a way of...

Can I only allow printing to pdf in Excel?
I have created a template in Excel which has been set up so that the layout is perfect when printing to pdf (which is how the document will mostly be used) but the layout changes if printing direct to our printer. Is there a way that I can ONLY allow printing to pdf from this document? Hello You may consider using some VBA to achieve this. One way is to use the Workbook_BeforePrint event and specify the pdf printer in the PrintOut method, eg: Private Sub Workbook_BeforePrint(Cancel As Boolean) ActiveSheet.PrintOut copies:=1, ActivePrinter:="CutePDF Writer on CPW2:" End Sub Pl...

OnChange event
Hi all, I want to let the end users change the color of the top and bottom dark blue (or navy) borders of the Account form using a drop down that lists the colors (red, yellow and blue) .So the OnChange event of the picklist should trigger the change of the top and bottom dark blue colors to which ever color is selected. However I dont know if this can be accomplished. I even dont know if a stylesheet is used for that purpose, which one refers to these areas of the form. Any help will be deeply appreciated. Thanks in advance! ...

query will not write to excel
I have set up a query to a Foxpro .dbf file in a database from excel. When I tell Excel to import the data it it appears to be working but never seems to return the data. Running the same query via msquery.exe returns the data with no problem. Can anyone tell me what the problem is ? ...

Money '04
I'm trying to use the 'Money Browser' w/in MSN Money 2004 and get "Page Cannot Be Displayed" or sometimes "Action Cancelled", but I can surf the web just fine with my cable modem...what's up with that? I've read on this forum that other users are having difficulties w/ this particular issue, any resolution would be helpful. I've tried: regsvr32 msxml3.dll in start|run also have un-installed and re-installed cookies enabled ...

allow user to highlight field on form
I have a database which records info about disabled people. One form is used to input comments about the the person and has several memo fields. The user wants to be able to highlight a field if the information is important and needs to be highlighted to other users of the system. I cannot use conditional formatting because the decision to highlight the field is made by the user depending on different circumstances. Any help would be appreciated On Mon, 3 May 2010 16:52:01 -0700, aussiebob wrote: > I have a database which records info about disabled people. One form is used...

EXCEL FORMULA #28
Good afternoon, I'm trying to fine a formula which would show me how much money I would save on a mortgage if I were to pay additional principal each month--in addition to paying the additional principal how long would it take to pay off. I'm looking at a 160k mortgage at 7.5 for 30 years. I'll like to pay this off as soon as possible by paying additional principal each month. There are tons of free templates at: http://office.microsoft.com/en-us/default.aspx Maybe you'll find something you like. Kam1999i wrote: > > Good afternoon, > > I'm ...

OLE: Excel.Application
Hello, in VB.Net, I use Excel to display results : dim xl as new Excel.Application // creates an Excel process // snip (putting values into cells) xl.Visible = true If the user closes the Excel file and then my program, the Excel process is killed in memory, which is good. If the user closes my program first and then the Excel file, the Excel process remains in memory ! How can I make sure the process will be killed ? Thanks ! Hi You need to set xl.quit (and before that ensure that excel doesn't halt and ask things like "save changes?" on quitting) somewhere in your p...

Export relationship information from Visio to Excel
Hello all, Is there a way to export information regarding relationships from a visio diagram to an excel spreadsheet? In addition, is there a way to tell the excel spreadsheet to eliminate or change a relationship and for that action to be applied onto the visio diagram? thanks, ivan as a general answer I'd have to say "no, not without custom code". You didn't define what you meant as a relationship. al "Ivan Salas" <IvanSalas@discussions.microsoft.com> wrote in message news:6332A594-E4AF-4E8B-BA2D-7A4BC17962B3@microsoft.com... > Hello all, > &...

startup excel euro symbol
when i digit € symbol inside any application excel 2007 automacic startup and for me is impossible to use this symbol anywhere, i use windows xp professional ..have you a response to solve this problem? thanks ...

Excel 2003 Print Issue
I have created a spreadsheet to help with a university engineering assignment and I have added a worksheet that is basically an automatically generated report of all the calculations. I have set the Print Area up in such a way so that the results are printed out in well defined pages (e.g. page 1: title page, page 2: summary of input variables, page 3: summary of calculation results etc). The report is arranged vertically in the worksheet, so the pages are 'stacked' on top of each other. It prints out fine in Excel 2000 and 2002 but I recently upgraded to Excel 2003 and now find tha...

Form opens to blank record
I have a front page (a form) and my main database linked via a command button - it keeps opening on a particular record and I want it to open onto a blank record - how do I go about changing this? Thanks C (P.S. only a shakey understanding of code so if answer includes this - go easy on me and explain! Thanks) When you say: " I have a front page (a form) and my main database linked via a command button..." you are not talking about the use of Microsoft Office FrontPage, are you? http://www.amazon.com/Microsoft-FrontPage-2003-OLD-VERSION/dp/B0000AZJV8 I *thi...

Return form and controls to default size
I have a pair of functions that resize a form and all of its controls at the click of a button. These are for one of my visually-impaired users who likes his buttons, boxes, and text to be larger. One button resizes all the controls up by a factor of 1.1, the other resizes them all down. I also want to put in a button to return everything to their default sizes. Could anyone please point me in the right direction to restore the default sizes for all controls, the "Detail", "Header", and "Footer" sections of a form? Thanks in advance. On Mon, 1...

excel 2000 message
excel 2000 message - 'cannot use object linking and embedding' Were they hit by the MSBlast worm? One poster (Lutz Meyer) guessed that this was the cause of his problems. I haven't seen any confirmation/denial, but you may want to read his post: http://groups.google.com/groups?threadm=3F3971AF.FA4490F5%40msn.com Post back with your results. I'm curious if that was the problem. (It's come up quite a few times since MSBlast hit.) bill bootle wrote: > > excel 2000 message - 'cannot use object linking and > embedding' -- Dave Peterson ec35720@msn.c...

Excel Graphing Line References off when chart is a sheet.
I have noticed that when any graph is created in EXCEL and you hover you mouse over the dataline you receive that corect response. If you convert the chart to a sheet, the hover of the data line is now not representative of the the y axis directly below it. The data being graphed is correct now the hover represents the "series" (x-Axis) correctly but does not represent the "Point" (y-axis) correctly at all. Tne Y-axis datapoint reference is wrong. Any help? ...

Editable Excel Spreadsheet Online?
Hi, I tried to recent find information on this, but could find very little. How difficult would it be to host an excel spreadsheet online where visitors to the site can directly view and edit it? Right now, I can upload the spreadsheet to our web site and visitors can view it, but if they edit it, they can only save it to their local drive. I would like the users to be able to save the copy on the server. What would be involved in something like this? I assume for starters (if it's do-able) we'd need Windows hosting (we're not hosting ourselves) and some ASP support. Any de...

how do I delete documents from the start list in word and excel?
how do I delete documents from the start list in word and excel? You can not clear it whenever you want. You can however set the no of file names to be displayed to 0 which clears the list... In Excel 2003 Tool->Options->General Enter 0 against 'Recently Used File List' of clear the check box. Click 'OK' Word has a similar option. For 2007 versions or if you want to play with Registry Settings (not advised unless you understand it well) see http://www.mydigitallife.info/2008/01/13/how-to-clear-and-delete-recent-documents-list-in-office-2007-word-excel-p...

Error saving Excel files in a network drive
I have a problem saving Excel files onto a network drive. I get an error saying it was imposible to save the file. It creates a temporary file and then I have to open it and save it as a new document. This issue doesn�t occur saving the file in my hard disk. This happens with "Full control" access to the shared folder... I have Windows XP and Office 2000. Thanks in advance Mateo. Hi Mateo, > I have a problem saving Excel files onto a network drive. I get an error > saying it was imposible to save the file. It creates a temporary file and > then I have to open it and sav...