Count Instances in a table field
Here's a little background on my database. I have a form with a couple of
buttons that I have grayed out when the database is empty. These buttons
open a print preview of a couple of reports. I would like to ungray these
buttons only when there is at least one record with a "CA" entry in the State
field in my main table. How do I do this?
Forms display data from tables. I'm not understanding why you'd want a form
to enable (ungray) a button if ANY record has a "CA" entry. Wouldn't you
want to ungray the form if the record DISPLAYED had &q...horizontal data to vertical data
I have a set of data list in the horizontal manner. Is there a macro that
can send this data vertically instead of manually doing it?
Thanks in advance.
One way ..
Assume source data is in Sheet1, A1:E1
Put in A1:
Copy A1 down by as many rows as there are columns in Sheet1, i.e. down to A5
A1:A5 will return whats in A1:E1 in Sheet1
GMT+8, 1� 22' N 103� 45' E
"Aloysicus" <email@example.com> wrote in message
ne...Difficulty Aligning Series Data With Proper Dates
I ‘m building a column graph using Excel 2007 and I’m having difficulty
aligning a series of data with the proper dates. I have 2 series of data –
Series 1: Includes a value for each quarter in 2009 (e.g., Mar-09, Jun-09,
etc). Series 2: Includes a value for each quarter in 2010 (e.g., Mar-10,
Jun-10, etc). After creating each series, I select the appropriate dates
(Series 1 – 2009 dates / Series 2 – 2010 dates). The first issue that I’m
having is that when I select the second set of dates (for Series 2), it
overrides the first – so the x-axis initially shows 2009 dates, but then
...Pivot table samples/tutorial
Hi all :-) Excel 2003 - Windows XP Pro SP2
I am in need of some samples or a tutorial on how to create a Pivot table. I
have worked with many areas of Excel, but, I have never had call to create a
Pivot table, and the Help files are not exactly totally clear.
I am trying to prepare some reference materials for a presentation I will be
giving on the various Office programs, and would like to be able to include
some good material for the Pivot table for Excel as well.
I would truly appreciate any suggestions or references that might be
available for download or linked to.
MS MVP...export public folder data?
Am in the process of performing an Alternate server recovery of an Exchange
2003 Information Store. The reason being that on the current server all the
email has dissappeared from the public folder mail folders...its a very
strange situation indeed. Hoping that by restoring an earlier backup to a
different machine we can see if the emails will return. If they do, is there
a way I could export the contents of these folders back into the current info
store? I gather that Exmerge will only work on Mailboxes and not Public
Many thanks in advance,
On Fri, 19 Aug 2005 08:58...storing read only data
I work for a powder coating company and want to make a program that will store all of the data on each part. I want to be able to go to the computer type in a part number and retrieve all of the data for that part. It has to be read onlyso that it can only be edited by a supervisor. I was told i could use excel for this and an "at" function was mentioned. thank you
If the info fits in 256 columns, you can put the part number in column A and the
info in B:IV.
Then apply data|filter|autofilter and use that to just show the parts you want.
If the data is more than 256 columns, you co...How to organize data?
I am a frustrated Excel newbie. I grit my teeth every time I
have to use Excel. But I need to create a small database of
records and chart it's monthly progression, and I think
Excel is probably the best program for the job.
Only, I don't know who to do this.
Please bear with me as I really need help with this.
Say that I have a short list of vendors in different cities.
For each vendor I have a total # of items in their inventory
and another # of the # of items sold from the inventory, and
a percentage of that.
So I have the vendors listed in Column A.
# of items in inventory ...A get/change operation on table 'IV_Options_ROPT' failed accessing
I get this error when I tried to print Inventory Activity Report. When I
clicked on more info, it says "[ODBC SQL Server Driver][SQL Server]Invalid
column name "LNGSTRTDESC'.
It happened to me and the 'sa' account.
Does anyone have a clue what happened and how to fix this? I searched on
KnowledgeBase and did not find any article to address this problem.
This error is occuring in Inventory Report Options Table and the column name
where this is happening is Long Start Description.
What I suggest you is to delete the Report option by going to Inventory
Act..."external data sources" and "external data ranges"
what is the difference between these?
i have run the vb macro code on http://support.microsoft.com/kb/330383 to
check if i have any external data sources or data ranges but there are none.
the reason i need to know is becuase i'm working with office sharepoint
server 2007 and i cannot access a file thru the web access web part because
"The workbook that you selected cannot be loaded because it contains the
following features that are not supported by Excel Services:
External data ranges (also called query tables)"
...Update table from form
I am trying to update a counter table from a form. Instead of updating, a
new entry is being created every time and the table end up looking like the
Salesperson Date Leads
1 4/16/2007 0
1 4/16/2007 1
1 4/16/2007 0
1 4/16/2007 1
The code I'm using is below:
RepNum = DLookup("[Rep Number]", "Debt Advisors", "username...Last Column With Data
How do I check a certain row to find out the last column in the row that has
Dim myRow as long
dim LastCol as long
myrow = 1243
lastcol = .cells(myrow,.columns.count).end(xltoleft).column
This will break if you've used the last column in that row -- or if you haven't
used any cells in that row.
Is that a problem?
> How do I check a certain row to find out the last column in the row that has
This gives a interger...What was your data migration experience for MS CRM 3.0?
Has anyone used DMF 3.0 to migrate data into CRM using its wizards or
What happened and how did you do it?
It's a bit unwieldy, but if you follow the documentation closely and do
thorough tests it is a helpful tool. You should be prepared to do some
extensive data cleansing and search the newsgroups when you hit a roadblock.
Matt Wittemann, CRM MVP
> Has anyone used DMF 3.0 to migrate data into CRM using its wizards or
> stored proceedures?
> What happened and how did you do it?
>...Sum of cells in column if data in cells = specific value
In column K, I have different information. Each cell either says "Returned"
In K35, I would like to have a total of all the cells in the column which
show "Returned" and in K36, I would like to have a total of all the cells in
the column whith show "Disposed"
Please don't multipost.
In article <firstname.lastname@example.org>,
"That's Confidential" <email@example.com> wrote:
> In column K, I have different information. Each cell either says "Returned"
> or "Disposed...data file: how to start its application
Hello! I have a byte array in memory for a file and also its filename
(actually a mail attachment). Now I want to "open" this file. In case of a
"*.doc" file I have to find the association (winword), run that program and
give it a path to my memory or something like that.
I think the simplest way to achieve this is to save the data into a temp
file (GetTempPath + actual file name, overwriting any previous one), and
then running RunCmd somehow and Windows knows what to do. I know how to
write the file, but a RunCmd command doesn't exist or I haven't found
I have a master file and 4 workbooks where individuals enter info daily. I
need to update the master file workbook at the end of the day with the info
from the 4 individual notebooks. How would I merge this data? I tried the
"shared workbooks" process but it wouldn't let me do it. Please Help!
Since your question is very "general", here's a "general" suggestion:
Explore the use of links.
Have all WBs open.
Right click in a pertinent data cell of one of the 4 WBs, and choose "Copy".
Navigate to the appropriate cell in the "Master&quo...Vertical Data Extraction
I need to create a chart that is based on changing values. The Values are
all stored vertically in a Worksheet called Percentage. The chart sheet
contains a selection box where the user can select a specific search and a
date and the selected conditions should be searched for and the chart should
Basically, when the user selects X in the first list box and Y in the second
one, the code should search the Percentage worksheet for all instances of
value=x and y and output.
column Row Feature1 Feature2 Feature3
2000 0.5 8.3 10
2000 ...Pie Chart from data
Hi, I am trying to create a pie chart from the below data
just to show the percentages of what work orders are maj,
med and min. How do I set this up!!
Thanks in Advance!!!
how can i create a pie char
By following the directions within the Chart Wizard.
Tushar Mehta, MS MVP -- Excel
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
In article <9265C290-B0B6-4CAD-B909-5EDFCE7DC415@microsoft.com>,
> how can i create a pie chart
Please can someone tell me how to do an automatic change all the way down a
i have a list of applications throughout a spreasheet as follows
Approach, Eurosys, Oscar, Pivot_Pro
Pivot_Pro, Oscar, Approach,
i need to change exery occurance of Pivot_Pro to Pivot (Dual)
how will i do this
Press <Ctrl><H> In the find box, type in the existing name, in the change
to box, type the new name, click on Change All, and its done
firstname.lastname@example.org_2nd_at. Randburg, Gauteng, South Africa
&...Varying data ranges
I am preparing a large number of identical reports on Excel fro
imported data of varying sizes (e.g. some imported data is 400 row
long, some 600, but all have the same number of columns). I hav
recorded macros to take the data from its raw form to its complete
form in order to releive the repetitive nature of this process, howeve
the macro does not take into account the varying sizes of the raw data
even when I use the Ctrl+Shft+End command. I am left with a lot o
manual 'tidying up' of the reports after the macros have run.
I have around 1,800 reports to complete so if ther...Baffled by missing data on printout
I have a bunch of subforms that the user will fill out from a main form. I
then save all that data into a local table, then read it back from a report.
The report loads the same subforms which reload the data. All that is
working fine on screen, and on print preview.
Then, when sent to a printer, all te text boxes are blank! What could
*possibly* cause this? I switched printers, used a pdf output printer (save
to disk in PDF), and with same results. Any ideas?
> I have a bunch of subforms that the user will fill out from a main
> form. I then save all t...Data Filter
I am running excel 2003. I am needing to copy my out put to another location.
I have the options checked : Copy to another location and my list range.
However, in the copy to range it is listed " $j$4:$Q$4." I do know that my
range is correct but how would I get the output data to be pasted in another
locations. Once I click on OK the wrong information is outputted..
Thanks for your adivse.
You should be able to select another range for the output. What happened
when you tried to change it?
> I am running excel 2003. I am needing to copy ...Validation in Data/Form
Is there any validation function for user when they input data throught
Data/Form which was created default by excel??
have you tried 'Data - Validation'. If this does not work
you have to create your own userform
>Is there any validation function for user when they input
>Data/Form which was created default by excel??
Data Validation only affects entries that are typed into a cell. You
could try John Walkenbach's Enhanced Data Form. It's a free add-in that
allows combo boxes, so it could display...Notes Domino data to Exchange?
Notes Domino data to Exchange?
I have a brand new Exchange 2003 server with no data,
completely fresh. It is up and running fine.
The client has an old Notes Domino 5.0.8 server with NSF
databases all over it. We did NOT migrate anything, it
is just a new Exchange server.
Is there some way to get some of these NSF databases
moved to this new Exchange server? (Thye are not part of
the same Active Directory. I am wondering if there is a
way to export these Notes mailboxes and databases to
something that could get converted to a PST file or
something and then get imported. Any ide...String variables
I dim Warning(100) as string
Then I do the following:
Warning(1) = Cells(1, 3) + " " + Cells(3, 3) + " " + "Assessments" + "=
" + Cells(2, 13) + "," + Cells(2, 16)
Cells (1,3) is a string
Cells(3,3) is a social security number
"Assessments" I mean the word Assessments
Cells(2,13) and Cells(2,16) are numbers
I want Warning(1) to = "Joe Blow 123-45-6789 Assessments 4,5"
I get a type mismatch.
This is old code from Power Basic.
Help and thanks
Try using "&" instead of "+" to concatenate...Compare Data
I have the following problem. I have two different database on the same
server, each one with a dif name of course, except they have the exact same
tables and basically the same data.
In some tables there are a few rows of data that are different from each
other. For example, in the clients table (db1.table1.cl) the numeration
started from 234 to 3734 but in the other database the clients table the
numeration started from 0 to 3500. Note that they are the exact same clients
and the exact amount of clients in each database clients table.
The second database is a n...