Using formulas to filter
Is there a way to filter a list by formulas the same way
the Data->Filter option works? I'd like to take the matrix:
Col A Col B Col C Col D Col E
===== ===== ===== ===== =====
Smith 30 $104.2 Yes 52
Jones 31 $155.3 No 51
Jones 31 $422.2 Yes 49
Freer 31 $424.3 Yes 42
Waylan 30 $322.5 No 50
Smith 31 $288.3 Yes 49
And, using a formula, filter on Col B = 31 to produce:
Col AA Col AB ...disable unhide sheets on toolbar
is there a way to dis-able the unhide sheets toolbar?
Protect the workbook (Tools > Protection menu) to prevent hiding, unhiding
and renaming of sheets.
HTH. Best wishes Harald
"ditchy" <firstname.lastname@example.org> skrev i melding
> is there a way to dis-able the unhide sheets toolbar?
> TIA, Ditchy
If you want to take out that control then use
Bar").Controls("Format").Controls("Sheet").Co...spell check does not visually cycle through cells when run from macro?
I'm trying to recreate the same behavior in a macro that spellcheck has when
the spellcheck button is pressed. The spellcheck does not cycle through the
cells visually when run from a macro, so when there is a misspelled word,
you cannot see the cell it is a part of.
If anyone knows how I can get this behavior to work, it would be GREATLY
I did a record new macro, and got code similar to the following:
Add the fiollowing to your code as shown:
...Setting directory for file save in macro
Thanks to a generous poster I now have a great bit of code to use in a macro
for Excel which saves a text file (I'm no VBA programmer so this was really
Open "Test.txt" For Output As #1
(rest of code)
My problem now is this:
The macro saves test.txt to Excel's current active folder, rather than the
folder that the current workbook is contained in.
For example, if I last saved an Excel workbook to c:\workbooks\, and the
workbook that I have open exists in c:\workbooks\workbook1\, when I run the
macro it saves the text file in c:\workbooks\. If I ...Disabling password feature on Personal Folders
I've upgraded from Outlook 2000 to 2002 and set up the
user's Outlook profile. I go to add his Personal Folders
and browse to his saved .pst file and the system asks us
for an outlook password. I enter his Outlook password and
I get the message that it is incorrect. The problem is the
user says he never password protected his .pst file. So
how do I - or can I - remove the password protection so
that I am able to add his Personal Folders?
Any help is greatly appreciated!
...Using cell text in a formula
I am trying to use derived cell references in a VLOOKUP formula to matc
data in several tables. For example, A1 contains the cell reference fo
the top left of my array (A3) whilst cell A2 contains the cel
reference for the bottom right of my array (D14). The array I'
checking against starts in column E3.
However, when I use the formula =VLOOKUP(E3,A1:A2,4,FALSE) I get a #N/
error. I need to use the cell references in each VLOOKUP as the arra
sizes may vary in each case. (PS, I've used =INDIRECT(ADDRESS(A1,A2)
to derive the cell references.
Message posted from http://www.Excel...Using two conditions in a formula
How do I write the following formula:
I am in cell I6
If g6 AND h6 is blank, then blank, else I5 minus g6 plus h
Richard Pitt's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=1533
View this thread: http://www.excelforum.com/showthread.php?threadid=27042
In cell I6, enter the formula:
Though you don't check for case when G6 is blank and H6 isn't, etc.
MS Excel MVP
"Richard ...What could keep formulas from recalculating?
I have a workbook that I received from a company with which I do business.
On it are several worksheets (tabs). On one sheet, if I go to enter a
formula in a cell, it displays it as text instead of calculating a value.
For example, if I type
it will display that exact text in the cell as opposed to displaying the sum
of cells A1 and A2.
On other worksheets in the same workbook, entering formulas seems to work
just fine. I have checked in Options, and auto-calc is checked (pressing F9
also has no effect).
I can only assume that there is some setting of which I am unaware that is
prev...Can you record a macro in Publisher like you can in Excel?
In Excel I use the feature to Record a Macro. Excel records the keystrokes
and converts to VB. Does Publisher have that option? In my version,
Publisher 2003, I can Create a Macro, and it takes me into VB. However, I
don't know how to code VB.
> In Excel I use the feature to Record a Macro. Excel records the keystrokes
> and converts to VB. Does Publisher have that option? In my version,
> Publisher 2003, I can Create a Macro, and it takes me into VB. However, I
> don't know how to code VB.
Publisher does not have a Macro Recorder, sorry.
I have an Excel Workbook that I created for a PC Order Form. I set it up to
only make certain rows visible based on the Machine Model that they choose.
I digital signed the Worksheets and exported the Digital Signature
Certificate and installed it on the User’s PCs. The code works great. The
user opens the Workbook and it runs the Macros with no problem. The problem
I have is when the user goes to save the Workbook. They get an error that
“Excel can not sign VBA macros when saving to this file format. Do you want
to remove the digital signature and continue saving this workbook?”...reconnect to mailbox after Disabling user?
I was wondering if there is a easier way then to recycle the Exchange
Services to renable a mailbox after a users mailbox has been disabled for x
amount of time.
I want to give access to this mailbox to another user so right now.. I
simply go to Mailbox Rights -> (add the user I want to add) -> give allow
rights to Read / Full but this requires a recycle of the services. Is there
another way without recycling the services?
On Mon, 23 Aug 2004 11:08:36 -0400, "Just Another Admin"
>I was wondering if there ...Macro Copy and Paste
I am currently trying to copy from one workbook that has 7 differen
tabs and paste into one worksheet on a separate master workbook. M
problem is that when I set up the macro to copy from one of the tabs i
the workbook and paste to the other work book, I only want the the row
to come in where there is data. Currently I am having to run a macr
that takes every 100 lines, but ideally I only want the informatio
copy and pasted where there is only data.
In addition, once I have copy and pasted everything from the first tab
my next step is to copy and paste information from the second tab t
th...Referring to a FileName in Macro
I have a Macro with the following code
TestQry is the name of the file. Is there anyway that this macro cod
can refer to the activeWorkbook or filename so that if the file i
saved to a new name this macro will still ru
Message posted from http://www.ExcelForum.com
How about just:
"DoctorV <" wrote:
> I have a Macro with the following code
> Application.Run "TestQry!Macro2"
> Application.Run "TestQry!Macro1"
&g...Macro Question #10
I am working with a text file that I imported into Excel.
It is a transactional report of sales by customer. The
data will have the customer number and name spread out
over three cells. What I want to do is to create a macro
that will contatenate all three cell and then perform a
paste special and paste them into another cell in another
column. Since the number of transactions by customer can
vary the customer name and number can appear anywhere on
I created a macro to do this using the first customer
which appears in cell B5 through D5. The next customer
appears...Outlook blocks access to potentially unsafe attachements
Outlok 2003 has blocked many of my work emails with legitimate attachments.
just yesterday, it block an Access database file that I was expecting to
recieve. I've always thought, great way to keep desktop safe. But this time,
I needed that document right away. So my opinion has changed.
Question is: Where is the menu to change the security feature so it doesn't
block attachments? The only security menu I found was for restricting
Thx in advance
Tools, Options, Security, Change Auto d/l settings, UNcheck Don't
download.....but leave Warn me etc...checked
I was just wondering if anybody knows the formula for the
r-squared value for a power curve. Excel states that it
uses a transformed r-squared value. I am trying to
calculate the value by doing the mathematical calculations
in the spreadsheet. I have gotten the correct equation
that the chart shows, but I can't seem to get the correct
r-squared value. The formulas that they give are:
R^2 = 1-(SSE/SST)
SSE = E(Yi-Yi^)^2
SST = (EYi^2)-(EYi)^2/n
E is the best I can get to a sigma in this. Sigma is the
sign to sum up all the indicated values.
Yi is the original Y values.
Yi^ ...Spreadsheet macro stopped working!
I recently made an Excel spreadsheet for keeping track of my golf score.
The spreadsheet is quite simple. It consists of 4 sheets:
Scorecard, statistics, database and equations (for calculating some
I insert informations about the golf course I'm playing and how my score
was etc. I then hit a button "Save scorecard" that runs a macro. The
macro inserts specifik values from the scorecard into the database sheet
(which works like a charm). The macro also updates the "Statistics"
sheet with information about stroke number and points for ...Excel formula #9
I need some help Please. not sure how to write a formula? Description of what
if cell is equal to 48 or less then I want to add 3 to the cell but if cell
is greater the 49 then I want to add 6 to cell Can some one help Please. I am
new with excel and am not sure how to do this.. Thanks
Sun, 3 Feb 2008 19:04:06 -0800 from David franklin
> I need some help Please. not sure how to write a formula?
> if cell is equal to 48 or less then I want to add 3 to the cell but
> if cell is greater the 49 then I want to add 6 to cell
...Increasing Month only in formula
Kindly i need help on below:
i have a formula as "=Jan!G$2" in Cell "A1", i'm looking to have "=Feb!G$2"
in Cell "A2" and "=Mar!G$2" in Cell "A3" and so on by simple dragging.
is that possible?
On Thu, 11 Feb 2010 12:53:01 -0800, Malla <Malla@discussions.microsoft.com>
>Kindly i need help on below:
>i have a formula as "=Jan!G$2" in Cell "A1", i'm looking to have "=Feb!G$2"
>in Cell "A2" and "=Mar!G$2" in Cell "A3" and so o...Help: Seting the value of another cell with a formula
I know that there's a way to make a cell a particular value based on the
entries of a range, or array of cells, but is it possible to do the reverse,
using only one formula in a cell.
Here's what I'm trying to do:
What I would like to do is set one of a range of cell to have a value based
on the value in A2.
Example: Cell A1 has a value of 2, A2 has a value of 2007. I want A10 to
equal A1, i.e.:2
Cell A1 has a value of 2, A2 has a value of 2008. I want
A11 to equal A1, i.e.:2
Cell A1 has a value of 2, A2 has a value of 2009. I want
A12 to equal...Excel 2007 macro compatability
I have created a macro in Excel 2007 that includes importing a text file. It
works fine on my PC, but fails on a co-workers PC running Excel 2000. The
failure points to the "TextFile Platform" command in the macro. I have tried
several (437, 1252, 20127), but get the same results.
Have you try
Regards Ron de Bruin
"Al @ Frontier" <Al @ Frontier@discussions.microsoft.com> wrote in message
>I have cr...Excel E-mail Macros
I need to know how to create a macro that will send an
excel file as an attachment to one individual, and then
send one of the file's worksheets to 3 e-mail addresses
using the mail recipient method so that the worksheet
appears in the body of the e-mail. The e-mail program I
am using is Outlook.
Any help with this will be GREATLY appreciatd.
I'd tell you, but Ron de Bruin already did all the work. It'd be silly for
me to do it again...Try Ron's site:
"John" <email@example.com> wrote in message
I have a problem and hope someone here can help me..
The messages that I try to block don't go to my deleted folder, they keep
coming to my inbox. Is there a way to fix this problem?
Thanks in advance....
Version of Outlook? How do you try to automatically delete them? By means of
the Junk E-mail Filter (Outlook 2003) or by means of a rule?
Robert Sparnaaij [MVP-Outlook]
Tips of the month:
-What do the Outlook Icons Mean?
-Create an Office 2003 CD slipstreamed with Service Pack 1
"Betty" <firstname.lastname@example.org> wrote in message
ne...Blocking Old SKU or PLU code?
I have ran into a problem in blocking Old SKU's or PLU's code in our database
that the Director of Retail has express interest in having them removed from
the system. I the worksheet 250 - Update Inventory Items, which work fine
on all stores we open in the last 2 years, but all other stores has "An Error
occured while attempting to process the worksheet." I know from the list if
items to be blocked that some have been blocked by management in the past and
later turn back on using SQL database to make the item show up in RMS again.
I am thinking this is where my pr...format macro
Last week, Art was trying to help me with this, but the solution doesn't work
for me. I'm looking for a macro that would be contained within my
personal.xls, that I could use as needed.
Lets say I have A1:C5 selected, which represent headdings and data for jan,
feb and march. [On a different spreadsheet, it may be different columns, or
a different number of columns. The point is that I will select the range
before I run the macro.]
I want to do an auto fit for each column, so that the column widths are big
enough to fit the numbers. No problem, format-->column-->autof...