Filtering depending on value of a cell
Hi to all,
Is it possible to filtration according to a value that is typed in a certain
Colomn B contain month names: Jan, Feb, ... until Dec. Is it possible to
filltering using VB Code or Macro.. depending on the value that I type in
After that to print the filtered range starting colomn C until colomn L
after hiding colomns F,G,H,I . Colomn headings are in row 6
Yes, you can program the Autofilter.
Have a look in the newsgroups here, that kind of question has been answered
a lot of times of before.
You can reference the value of a cell using:
Sheets("nameoftheshee...Excel Form "Component Not Registered"
I am using several excel spreadsheet that are working on many other machines
but they all of a sudden started giving me a "component not registered"
error. I don't know of any changes to my workstation environment.
In order to debug, I stripped down the excel spreadsheet to the bare
minimum. I noticed that when all the forms were removed from the spreadsheet
that the problem disapeared. I removed everything in the spreadsheet except
for one form and a Workbook_Open() procedure. No problem occurs if I have an
empty procedure but as soon as I even put a comment in th...Return a cell refernce based on a value
I have a value in worksheet A which is "x". In worksheet B column A
have a list of values i.e. a,b,c,d...x,y,z and in column B I hav
values relating to those in coumn A i.e. column A row 1 value is "a
column B row 1 value is "apple", column A row 2 value is "b" and colum
B row 2 value is "balloon", how do I get teh first worksheet to rea
the value in one cell, find it in column A of the other worksheet an
give back the value on teh same row in column B?
Message posted from http://www.ExcelForum.com
use the VLOOKUP function
I want to connect my Sharp Aquos flat screen TV to my computer, and see my desktop on both the TV and computer monitor.
Windows Vista Home Premium.
HP Pavilion a1610n computer.
Galaxy GeForce 8400 GS graphics card, outputs: 1-VGA, 1-DVI, and 1-SVGA. There is no HDMI port on the card.
I connected a VGA cable between the motherboard "on-board" VGA port and the TV, figuring that I could use that output to work with the TV. The computer monitor is plugged into the GeForce graphics card.
Tried the Desktop "Display Setting". It says, the number 2 monitor is "N...Display a message box "this entry is a duplicate"
How can I display a message box on a form if the shipment number is a
duplicate? I need a message box to pop up when user attempts to tab out of
Private Sub txtShipNum_BeforeUpdate(Cancel As Integer)
If DCount("*", "MyTable", "ShipNum = '" & Me.txtShipNum & "'") > 0 Then
Msgbox Me.txtShipNum & " already exists."
Cancel = True
This assumes that your text box is named txtShipNum, that the name of the
field in table MyTable is ShipNum...Folder could not be displayed
I am running Windows XP and Outlook Express 6 just fine
then one day my husband does something to my computer and
his email account won't work. My email is working just
fine but in his he cannot open his inbox. It says folder
could not be displayed, and when you send and receive it
gives you this error message:
"An unknown error has occured.
Server:'incoming.verizon.net'.Protocol:POP3, port: 110,
Secure(SSL): No, error number: 0x800C013B"
If anyone could help me with this I would greatly
T...Find cell which returned maximum value in formula
De, try this, =CELL("address",INDEX(A:A,MATCH(MAX(A:A),A:A,0)))
will show the first one if there are more than one
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 2002 & 2003
"De" <De@discussions.microsoft.com> wrote in message
Thanks, Paul, but I found this hard to follow. Excel kept returning that I
had disabled macros but yo...Open a database with no window, just form
I now have my own, home-built Auto FE Updater which basically involves first
launching a version-checker database (.mdb) which checks the file date of
the current app file on the user's local drive against the latest version on
a shared network drive and downloads from the net if the app version isn't
the latest. Then the version-checker mdb calls the actual application
All of the above works nicely and is obviously easy to implement. So what's
my problem? Well, it may be nitpicky but I don't want the user to know that
the version-checker is actually a separat...How to create a 2 columns and 2 lines graph with non-related value
I am trying to create a graph with 2 columns and 2 lines. I am able to get
the 2 colums ($000 value) and one line easily ($000 value), however the 4th
data series is completely out of range (it's a percentage value ranging
between 8 and 10%). I can see the line completely flat on the bottom axis but
would like to be able to move it up so it kind of "hangs over" the columns.
Any ideas that do not involve complexed programming?
Double click on the line, and on the Axis tab of the Format Series dialog,
Jon Peltier, Microsoft Exc...how to display values in 3 cells into one cell
Anyone can help me how do I display the 3 separate different values in 3
cells into just one single cell ?
thanks so much in advance.
Either there was a typo or there's an echo in here.
That line should have been:
= A1 & " " & B1 & " " & C1
"Bradley Dawson" <firstname.lastname@example.org> wrote in message
> In the target cell, type:
> = A1 & B1 & C1
> where A1, B1, C1 are the cell addresses that you want to concatenate.
> If these have number...How to select & display distinct values
I need help with a form please.
My form has two controls, the first being a combo box. This box should
select the company name from a lookup table. The lookup table has only two
companies in it, however, they each are repeated several time. Company 1 has
about 10 rows, company 2 has 3 rows. I used the query builder and came up
with the statement:
"SELECT DISTINCT Lktbl_Role_Master.CompanyName
When I run the statement directly from query view, it executes perfectly and
returns exactly two rows (one for each company, in a datasheet view) ho...Display Time in Outlook
The time setting in my Outlook is one hour behind my
actual time. I cannot determine how to change the time.
Outlook is the only item that is incorrect. Other display
times in operating system are correct. Thanks, Jodi
...PK and FK Displayed
I am a complete Visio newbie, and cannot find the answer I need in books or
I am trying to create ER diagrams from scratch, and not connected to real
tables, using VEA. I have added tables ('Entities') to the form, connected
them with a Relationship connector, and, in the Database Properties window
I've assigned the end points to a Primary Key on the left and a Foreign Key
on the right. But the model shows the connector as running between the top
colums on both sides, whereas I want the keys to be in that upper box and
provide the connector's end points. Wh...subform not loading before main form
MS Access 2003 SP2
After I did some refactoring of the subform code, the subform just
would not load. In fact, it skips the subform without any error, and
fails to load the main form as the main form depends on the subform
for some data.
My problem was
Private Const START_DATE as Date = "#00:00:00#"
I had accidentally added quotation marks around the date literal.
Since it was not throwing an error it took me 2 days to track down
this simple mistake.
Hope others won't have to waste so much time!
"Since it was not throwing an error i...Pasting a value as an hyperlink
I have imported a list from a database of file paths to documents on our
server, these data is currently formatted as 'General'
Is there anyway of converting that value into a hyperlink to the said
If your list is the complete path and file name, then in an adjacent
column you could just do:
and copy this down.
If you wish to you could fix the values and then you would not need
Hope this helps.
On Apr 20, 4:14=A0pm, The Rook <TheR...@discussions.microsoft.com>
> I have imported a list from a data...Formulas are displayed, results are not
Hello, For some reason, when I enter a formula into a cell and press
enter, the formula just stays there. Anyone know what I can do to show
I tried pressing Cntrl + `, but that didn't work.
FYI, when I cut and paste a column from a separate workbook, that
column works like normal (i.e., the formulas produce results).
Thanks for any suggestions!
Maybe your cell is preformatted as Text.
Try formatting to general then erase your =
and type it in again.
"Mike C" <email@example.com> wrote in message
Thanks for the reply Doug.Would I do this with 3 seperate command buttons?, if not I am unawareof the code required. If I do use command buttons how does this workwith setting the properties for the form. I mean if I set the from toallow no additions how will this work when I click the command buttonto add a record,?. I'm suggesting that you have a button that resets the form's properties. A toggle button might be best: allow changes when it's depressed, and don't allow them when it's raised.In your form's Load event, you'd put code like: Me.MyToggleButton = FalseI...Continuous forms on tabbed form?
I have a main form which has a tabbed control. On the tabbed control I want
to display a subform as a Continous form but even though I have set the
property to Continuos form the subform shows as a single form. Does this mean
that I can'tshow a Continuos Form as a subform on a tabbed main form?
Why don't my grey cells communicate with each as fast as they used to? I hate
Message posted via AccessMonster.com
Yes, you can use a continuous subform on a tab object.
...Stop displaying a line
I have a line graph/chart and it gets its values using a formula and the values of another column. However this poses a problem because if there is nothing in the targetted column the formula returns 0 cause the line to drop to the bottom, instead of casuing the line to just end until a value is added to the target column. How can I do this?
Change your formula to use NA() if the cell is empty. For example:
To hide the resulting #N/A errors on the worksheet, you can use
conditional formatting. There are instructions here:
http://www.contextures.com/xlC...unattached textboxes disappear when a msgbox is displayed on a tab control
I'm using Access 2003.
I have a form with a tab control on it. I was having problems with labels
flashing and I followed the suggesting from Allen Browne -
The flashing went away but now when a msgbox is displayed the unattached
textboxes that I'm using as labels disappear. They come back as soon as the
msgbox is removed from the screen.
I've searched google looking for an answer but have come up short.
Does anyone know why I'm experiencing this behavior and how to make it go
That *is* strange. Have you tr...A question about Console window(display or not display)
I've redirected the (stdin stdout stderr) of a console window process
I spawned to a pipe.
And I want to display the redirected console window, the question is:
If I display it(set Create_new_CONSOLE in createprocess and some flags
in startupinfo), I cannot use the redirected way of pipe, which means
if i do not display, i can use the pipe communicating with the child
Does it mean that as long as I disply the console window, windows will
change stdin stdout to "screen&keyboard" instead of my pipe?
That's right. If you redirect stdin or stdout then you preemp...Insert formula to range of rows (Variable) from macro
I am getting a debug error 'Compile Error, Expected: end of statement' for
the following formula insertion:
Set Rng = Worksheets("Calculate").Range("E2:E30")
Column B has a variable number of rows which I need to drag the formula down
for so am putting rows 2-30 as there will never be more than this. Is there a
better way of doing this?
Any help appreciated
Range("E2:...assigning value to a letter (Excel 97)
At my place of work we have a roster. To indicate what day
you are working a letter is put in a cell for that
particular day e.g
O = Operational Day (11 hours)
X = Normal Day (8.5 hours)
A = Admin day (8.5 hours)..
an so on...
Your weekly hours are totaled up at the end of the week
(Sat) depending on what you worked (as above).
What I would like to do is assign a value to whatever
letter is in the cell and in another cell somewhere in the
worksheet total up the hours for that week. Sadly I have
no idea how to do this.
This is useful so you can work out your projected hours to
Help Guys I have 2 textbox controls on a form The first textbox displays a
Transaction Date from a table called sales Now I want the second box to show
the Total count of products on that date and before am using the following
=DCount("[ProductsCode]","Products","[DateIn]"<= "[Date]","Sales" where
datein is a field inthe Products table that I want to use as reference for
the counting What am I doing wrong and how can I get the total count of the
products using the date textbox? I want when I select a date in the Date
text...Display or not display series
I have a graph with four series but some of the series may
be blank, i.e. the series name is <blank series>. Is
there a way to not display these series on the graph
and/or legend if they are blank, and display them if they
are without deleting the series?
Create a chart from all the data
Select the data on which the chart is based.
In the heading cell for the series name column, select (NonBlanks)
from the dropdown list
The series with blank name cells will be hidden in the chart.
> I have a graph with four serie...