Inserting form values into a table
We have a form with values taken from an sql query that comes from two
different tables. We would like to enter the information into a third table.
Can some one direct me to code that will do the following:
1. Provide the Insert sql that shows us how to add the form values to the
2. Show us how to loop while inserting the information into the table (there
could be several lines on the form, each must be inserted one at a time).
I have worked with Access before and have never had a problem inserting
information. However, I cannot quite figure out how to insert informtion
through an ...Auto-format in Microsoft Excel.
Each time i try to enter a number range, for example, 8-
10, in Excel, it constantly re-formats it to a date. If I
change the formatting to "General" it turns it into a
random number, usually 38209. I would like to turn off
ALL auto-formatting, but that's probably asking too
much. How do I disable this frustrating feature?
When you enter "8-10" in a cell, that's not strictly a number but Excel
thinks you mean a date so converts it as such.
A date is a number and in your example the number 38209 represents August 10
2004 which is not a ra...Excel not Access
I have designed an Access database that holds records relating to my stores
audit results going back for about 5 years plus a load more information
relating to these stores. This was used to produe a pack once a month,
however a change in senior management means that I have got to shelve this
and prodce a similar pack in Excel.
The idea would be that the user could select a month or a 12 mnth date range
that would produce data that could then be used to populate a number of excel
templates that have been designed. Having not used excel for years I would be
grateful for any suggestion...How to keep format when importing Excel into SQL.
Can anybody help me please?
When I import Excel file into SQL, a field that formated as 0000000000
(custom), loosing leading zeros. I tried to change data type in SQL after
importing. No luck.
I appretiate any help.
See if using IMEX=1 helps:
I tried this, but got an error: "The OLE DB provider
"Microsoft.Jet.OLEDB.4.0" has not been registered."
Thank you very much for looking into this.
"Plamen Ratchev" wr...New Disk storage
I'm planning on adding a new SAN to our Exchange system (Active/Passive 2
node cluster) and this has been connected to the Exchange cluster nodes and
is accessible as shared disk storage.
But that isn't the question I've got, basically the mail stores are
currently located on a Powervault (Drive S:) and I need to present a plan for
moving this data (14 databases) onto the SAN storage, I can see two options
Option1) Use the ESM to migrate databases to new drive letter
1. Use exmerge to export all email to PST files (and ensure backup)
2. use the ESM utility to change the...Input Excel 'Password to Open' through control in access form
We know,Excel has prompt password
to open it files.
Is it possible to create a code that can
supplies the excel prompt password?.So that when we
open the excel file through our access control in a form,
the excel files can be opened automatically.But when the
excel files opened from its default icon,it will prompt a
...Using part of a cell in a chart title
I have a chart which should get a title. However, this should be partly be
used from a cell e.g.
"counted with 5%"
5% should be taken from the cell and used in the title.
Is this possible?
Yes it's possible but all of the chart title needs to be in the cell. So you
may need to use a helper cell and concatenate text and value.
Andy Pope, Microsoft MVP - Excel
"Nicole" <Nicole@discussions.microsoft.com> wrote in message
news:5CB7A971-AA7F-4C34-BB42-7DC283AA2958@micro...How do you change the background color of a picture?
I have a image that I have copy and pasted, however I want to fill behind the
image. I know how to fill and all that, my problem is that it recognizes the
entire image as a picture, I was wondering if there is a way to change the
background while the image lays on top?
> I have a image that I have copy and pasted, however I want to fill
> behind the image. I know how to fill and all that, my problem is that
> it recognizes the entire image as a picture, I was wondering if there
> is a way to change the background while the image lays on top?
=============...Sort ascending, make changes, restore previous order
I've got an AutoFilter in a spreadsheet. I want to sort ascending, mak
some changes to some cells, then restore the previous order. Can thi
be done easily or will this require some programming??
Thanks in advane!
BVHis's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=859
View this thread: http://www.excelforum.com/showthread.php?threadid=47508
I'd use a helper column.
Put =row() and drag down.
Convert it to values (edit|copy, edit|paste special|values)
Do all y...Excel 2007
When I select cells to copy as a picture in Excel 2007, the resolution is
terrible. Text and objects with shadow's are very blotchy when pasting the
How do you change the resolution of a 'Copy Picture'?
...data input in text box
We have a form which the operator enters data in a text box. Currently we
have a 'done' button on the form that the operator clicks to send the text
box info to a vba program. How can we send the text box info to the vba
program when the operator hits the enter key @ the end of the data entry for
the text box? TIA
In Christ's matchless name
ted & colleen
Use the control's AfterUpdate event.
Doug Steele, Microsoft Access MVP
(no e-mails, please!)
"ted" <n6trf@arr...how do I automatically update a text box in a chart?
You can link the textbox to a cell. When you update the cell the textbox
should reflect this.
Select the textbox border and then in the formula bar enter the complete
cell reference, for example,
Andy Pope, Microsoft MVP - Excel
...How do I use traffic lights in excel
I am wanting to use traffic lights in excel that change colour based on the
result of a variance cell, ie if the result of the cell is 10 make the
traffic light green, if it is 20 make the traffic light amber, if the result
is 30 make the traffic light red. How do I do this?
Format>Conditional Formatting>Cell Value is:
Note: you can add up to 3 conditions(4 if you count default)
Gord Dibben Excel MVP
On Wed, 22 Dec 2004 16:35:03 -0800, Shorty <Shorty@discussions.microsoft.com>
>I am wanting to use traffic lights in excel that change colour based on the
&g...How can I change 'Normal' Style for Word e-mails to 'Normal (Web)'?
Hi, I'm using Word as my e-mail editor in Outlook 2003 and want to change
the default Style for e-mails from 'Normal' to 'Normal (Web)'.
The problem is that new e-mails and replies in HTML format use the 'Normal'
Microsoft Word 'Style', and this has no gap after paragraphs. The upshot of
this is that when sending an e-mail, I have to press return twice to create
a gap, but when the recipient views this, their software shows it as four
gaps (the extra carriage return I typed + their correctly viewed HTML
carriage return after each line).
E.g. I type this:
...How To Copy MS Word mailing labels into Excel
I have a word doc that I want to put into Excel. I want to add some
more fields to the names and addresses. Is this simple or do I have to
learn how to program?
City of Grand Prairie
Michael, have you tried to copy and paste the data into excel?
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2000 & 97
** remove news from my email address to reply by email **
"Michael Rodriguez" <firstname.lastname@example.org> wrote in messa...Size of dynamically allocated array
What's the easiest way to determine the size (number of objects) of a
dynamically allocated array?
While it's probably not reliable, I did find that the address you get back
from the 'new' operator is not the actual starting address of the allocated
block. If you subtract sizeof(DWORD)*4 from that address and then read the
value at that address, you'll have the requested size, but not the actual
size that the memory manager allocated. For example:
char *p = new char;
strcpy(p, "Hello World!"); // not necessary but does help to locate stuff in
mem...help with simple maths in excel
I want to do a simple arithmatic excercise in excel for my grand daughter.
It is stuff like 2+2 =4
Smart me has hit a problem at the first hurdle...
I need to put 2 in one cell the + in another cell and then 2 in another = in
another and then she puts the answer in the next one. So the above would
have 4 cells completed and she would put the answer in the 5th one.
When I use the + or = sign in a cell of its own it (excel) thinks I am doing
an equation, is there a way around this?
I will work on the answer like if she gets it correct or wrong how I will do
that...a sound or som...Change File Locations to Private Drive (not Folder)
I know that I can use "File Locations" in "Options" so that whenever I use
the "Open..." command in Word, it will open to a specific folder. I'm
wondering if there is a way that this can be applied not to a folder but to a
specific drive on a network.
Our company has a main public drive and has also assigned each of the Staff
their own private drive. Is there a way to access the "main page" (for lack
of a better term) of my private drive each time I use "Open..." in Word?
Right now it goes to "My Computer" or ...Unexpected error message on closing an Excel file
Suddenly I am getting the following message when I try to close a workbook:
"Your formula contains an invalid external reference to a worksheet.
Verify that the path, workbook, and range name or cell reference are
correct, and try again"
The mysterious thing is that it does not happen consistently and that, after
I click OK after the above message, I can still save the file.
What might be the cause of this error message and can the "invalid
reference" be tracked down using one of the utility add-ins such as J.
If it only happens when you close ...Opening Excel Workbooks
I'm running into an issue where if I click on an Excel
file through My Documents, it doesn't automatically bring
I get the toolbar but the actual spreadsheet doesn't
appear on the screen. I have to click on the taskbar to
get it to pop up.
If I already have Excel active and I open a file through
Excel, this doesn't happen.
Here is a similar thread:
Message posted from http://www.ExcelForum.com
Take a look at Tools-Options-General tab- uncheck ignore
other application...How to change font size on formula bar in Excell 2007
I don't find Tools>Options>General (as suggested in other post answers) in
Excel 2007. On the Office button there is an Excel Options but it doesn't
provide a method of changing font size on the office but. My font is so
small I can barely see it.
Office button>ExcelOptions>Popular tab>in the "When creating new workbooks"
section, choose font and font size
Microsoft MVP - Excel
"jimwillie" <email@example.com> wrote in message
news:588AAC05-0F52-404E-AA01-128E70E02D0B@microso...Excel DNS query
Is there a way for an Excel function to query a DNS server?
Not that I know of, but you can turn on the macro recorder, use 'get
external data' and tailor the resulting code into a user function of your
E.g. I've used this to create a button to get MS-Access data from a query
that has the same name as the sheet (tab) name. It saves me a lot of
<firstname.lastname@example.org> schreef in bericht
> Is there a way for an Excel function ...outputting values to a range from one formula
I wish to generate a table automatically by means of a single
formula that applies an iteration on a starting given value with
a given step, and the computed values are posted/entered
automtically into cells from a given cell onwards, say below
it, until the computed value reaches a certain given limt.
This is somehow the inverse of INDIRECT or of OFFSET. These
can pull values from a variable addresses of cells. What I need
is to push values into a variable addresses of cells.
Can anyone help me on that??
I have a 23.8 meg excel 2000 spreadsheet set for manual calculation saved to
my local hard drive. Every time I try to open it, it takes forver and
sometimes never opens but I do not get any error messages, let me just tell
you that I am running a P4, 1 GB memory, Office 2K with SP3, and nothing else
running when I try to open it. As I said it is set for manual calculation,
and it is cleared to not auto calculate when opening or closing. Any idea's
as to why this is happening?
I don't know why you're having this problem but I would like to point
something out for w...Setting MDI Parent Size To Fit Around A Child Form
How do you set the client size of an MDI parent to fit around a child form?
Breakpoints in the constructor and load event handler show the child size to
be already modified to fit into the parent; the child's size does not match
what shows in the Designer. I suppose the real question might be how do you
determine the size of the child window or keep the parent from changing it
What you're asking for is a little backwards, but I'm sure you have your
At any rate, these are the properties you will want to investigate: