sum value then insert row
How can I make for loop?
the conditions are: if total value column height = 5 and column
Article = "bike" then copy second row to row 6 (therefore 1 row
added between file 5 and 6)
thanks for your response
...how to validate excel spreadsheets
I am developing a document management solution in which some data will be
received as an xl spreadsheet that complies to a certain pre-defined
template/format (headings,datatypes etc) that maps to database columns where
the data will eventually be saved.How can I go about this also taking into
account that during validation all errors must be logged and routed to the
...Access Database Conversion to Excel Database
I need to convert a downloaded database in Access format
to an Excel format I can use on my desktop.
Use Data>Import External Data in the menubar
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
"greg" <email@example.com> wrote in message news:firstname.lastname@example.org...
> I need to convert a downloaded database in Access format
> to an Excel format I can use on my desktop.
...Nothing shows up in Database objects in Database Wizard
Hello, I am having touble with Visio 2003 once again. Though the db wizard,
I created an excel spreadsheet (table) for data and am tryinig to link the
chart back to this original database so that when I change something in the
database it will change correspondingly. I am going back through the DB
wizard, and can only get as far as selecting a database object to connect to.
I have selected the original dada source, checked table, but nothing showes
up under the database objects. Am I or my computer missing something?
Have you defined a name for the region ...Test cells for values if date matches
I have the following formula:
AT122 to BX122 contains a date (not all dates for a month are present)
K4 contains the date I need to report on
AT147 to BX166 contain the processing status by site for each date.
I am trying to get the cell I am reporting in to display an "R" if any of
the cells in the column that corresponds to the date that matches K4 contains
an "R", if there is no "R", then I w...Huge database
Good afternoon, i have to make a huge database wich have to get data from
excel file.That is not a big problem problem is that i have to get
information for about 1000 families with 1000 elements for every family and
this database have to storage this information at leaset one year. This make
a huge pack of elements. Can Microsoft Access get so huge pack of data ? If
yes i would be glad to read some ideas.
If you are talking about 1000 columns in a table, Access can't do it. 255 is
the upper limit.
1,000 * 1,000 is potentially a million records. However if the data is
pr...linking 2 databases in 1
I am running 2 hqs for 2 different purposes, now the company decided to use
1 hq for both purpose.
How can i link the 2 databases into 1 database????
I tired to link them from SQL server enterprise manager-all task- export
data from database A to B but some tables can not be exported and show me
is it possible to link them or im just trying something impossible?
Advice me on that plZzzzZZzz
I have some functions calculating certain values. All is fine, but all
of a sudden I have this strange #value sign there in the cells which
contains the function to calculate some value. If I click on the cell,
and then hit enter, it calculates fine. However, it doesnt calculate
for the whole sheet by itself. I have used auto calculate and manual
both, not working.(It used to calculate by itself before) Someone
Private Sub Workbook_Open()
Save and restart the file...
On 5 Oct 2006 11:28:29 -0700, "Nasir&q...Importing Current Database into CRM Database
I would just like to know if it is possible to tranfer my current database
into the Adventure Works Database(and if so how) or is it used just for a
few records for testing purposes.
You help will be highly appreciated...
there is a redeployment tool on support.microsoft.com/downloads under
microsoft crm. This may help you.
Microsoft CRM MVP
"Rock619" <email@example.com> wrote in message
> I would just like to know if it is pos...how to start a database
hi guys, i want to start a database on excel 2000, i never had to do
this before, and i know this can be done.
i just dont know where to start from !
what i want to do is, it is a racing club, i want a listing of all
pilot and a sheet where we can enter the number of the car(all pilot
info need will be transfer) for final result of the race.(right now
they enter the car no, name , city at every race at every registration,
if he is register to 3 race they do the process 3 time.)
like in access went we create the database and after the query, that
what i want to do in excel.
any tip or link...insert password protected spreadsheet
I want to insert an excel worksheet into another excel worksheet with the
inserted worksheet password protected. When I attempt to insert a password
protected worksheet, it asks for my password and then inserts the worksheet
without the password.
Every time you reply to excel with a password, you are either unprotecting or
protecting. so once you unprotected it to insert it, you have to protect it
again if you want it protected.
> I want to insert an excel worksheet into another excel worksheet with the
> inserted worksheet password protected. When I...ByRef value not returned to the speadsheet
The argument, CompletionDate, is a reference to a cell (R7). I add 10 to
Debug.Print, in both cases, displays the correct value but my cell (R7) is
My function resides in cell U7 and it's value is returned correctly.
What am I doing wrong? Thanks for the the help.
Function SetCompletionDate(CompletionDate As Date) As Date
' Correct value for CompletionDate is displayed via debug.print
Debug.Print "1:" & CompletionDate
' Correct value for CompletionDate is displayed via debug.print
' but the value on t...Use query from another database
In the code below is there a way that qryOrderHistory could be in a
separate database. If so how would i refer to it in the code.
Dim db As DAO.Database
Dim qd As DAO.Querydef
Dim rs As DAO.Recordset
Set db = CurrentDb
Set qd = db.QueryDefs("qryOrderHistory")
qd.Parameters("prmCustNo") = lngCustNo
Set rs = qd.OpenRecordset()
If Not rs.Eof Then
.... code to populate an excel spreadsheet
Change your 'Set db = CurrentDb' line to something like the following ..
Set db = DbEngine.OpenDatabase("full path and name of target MDB here")
...Database Queries with database views, that base on many database t
I created 2 database views. Each of them uses 256 database tables.
From every database table only one column is used in the select list of the
view. Every database table has one column which is used for the join.
Each database table has 5 rows. The database tables have not any foreign
keys and indexes.
Both views works fine. When I use the database views in a query like this:
SELECT v1.*, v2.* FROM v1, v2 WHERE v1.id=v2.id
I should get 5 rows with 512 columns in the resultset.
But I get the following error from the SQL-Server (after about 5 minutes):
Msg 8621, Level 17, State 2...Impact of changing database column width?
We are a software product company and are planning to begin using the
Contract Administration module. To do so, we will be switching our inventory
items from Track: None to Track: Serial Numbers and we will be storing our
software license keys in the Serial Number field which is column SERLTNUM in
Unfortunately, SERLTNUM is CHAR(21) and our license keys are a few
characters wider than 21. We can get the keys down to 21 characters by
removing three embedded hyphens, but there are several databases outside of
GP where the license keys must still exist with...Excel Charts axis min, max values
How can I set the X and Y axis minimum and maximum values by reference to
variable numbers in cells.
You have to use VBA code to do this.
Jon Peltier has an explanation
And Tushar Mehta has an addin
> How can I set the X and Y axis minimum and maximum values by reference to
> variable numbers in cells.
Andy Pope, Microsoft MVP - Excel
...suppress printing a repeating value in a column
In an Excel worksheet, how do you suppress printing a repeating value. For
example, one hundred rows have the same date and I want the date value to
print on a break only.
Excel really isn't made to easily work with page breaks. Page breaks depend on
the printer (which depends on what the user chooses). It can get pretty messy
If you're willing to just show the first value and hide the duplicates (no
matter where they occur, you could use conditional formatting--like Debra
Dalgleish shows at:
I've seen users ...Set Database in Excel
In Microsoft article 183446 under method 2, it refers to using "Set Database"
on the Data menu. I am using Excel 2002 (the article says it applies to
Excel 2002), but Set Database does not appear in my Data menu. Is this an
It's an error due, I think, to very old menu structures. The article says
that the information applies to everything from version 5.0 (1995) through
2003, inclusive. But I believe that the Set Database menu item disappeared
from the Data menu as of Excel 97. And one has long defined a name using the
Insert menu, not the Formula menu. But my rapidl...extract year from Date Value
Could someone help me extract the year portion from a date value such
as this 11/20/2009?
Thanks in advance,
With the Date in A1, place =YEAR(A1) in B1
> Good morning,
> Could someone help me extract the year portion from a date value such
> as this 11/20/2009?
> Thanks in advance,
...Client access problem after databases restoration
Recently we had a problem with an Exchange 2003 Back-End server with 6
mailbox store distributed thru 4 SG, and we lost the databases because the
SAN's disks partitions were deleted by mistake.
So, we had to do a restore from a backup, but when we could not mount the
stores, so we used eseutil /p command, and after, eseutil /d, and then
isinteg -s servername -fix -test alltests. We could mount the stores, users
can use email.
The problem now is that we have some users that could not access their
mailbox thru Outlook, and when we try to move to another store, we receive
an ...Importing spreadsheet problems
I am trying to make my database user friendly as possible by making it
so the user doesn't have to import the data from a spreadsheet through
"file"- "Get External Data" etc... So I am creating a button that
creates a table from a query, then goes into the macro and open the
sheet and imports the information and then saves the information into
the table. I am getting either one or the other error that depends on
what I tell the macro "TransferSpreadsheet" to do. First is telling
me that there is not "F1" field in the destination table. Although
t...upgraded from MSSQL 2000 to MSSQL 2005 now database's users have
I updated the MSSQL 2000 server to MSSQL 2005 server now the database's
users have no
login names. I found a way to list orphaned users sp_change_users_login
'Report' but it only listed dbo and there are actually five listed with
MSSQL Server Management Studio Express. I tried this sp_change_users_login
'update_one', 'RPS', 'RPS' but I get the following error the user name 'RPS'
is absent or invalid.
Try with Auto_Fix instead; see the example at the end of the following
http://msdn.microsoft.com/en-us/...database or other software?
I need help with the following situation:
I want to create files or a database that will contain information about my
clients, with their business information (i.e address, phone, fax, type of
business, in which states they do business) to send an invitation to bid on a
construction project. I want , where a database would fill out the
information automatically on the bid invitation, then fax, or email the
invitation to each selected clients according to their specialty. Then I will
need to keep track of who answers my invitations in order to "weed out"
clients who do...High and Low values in column
Is it possible to show the high and low values in column b based on the
grouping in column a? I have a customer list with the prices each customer
paid for the products. I want to know what the highest and lowest price each
customer paid for their products. Is this possible using Excel 2000 or 2003?
This is an array formula which must be entered/edited with ctrl+shift+enter
"Lee Coleman" <firstname.lastname@example.org> wrote in message
news:...Form in another database
How can I check if an Access form is open or loaded when the form is in
another Access application (mdb or nde file).