deleting blank rows for up to 60000 rows of data
I have worksheets with up to 60000 rows in one column I have tried using the
following macro from this site and it does not do anything. Any ideas?:
Dim i As Long
.Calculation = xlCalculationManual
.ScreenUpdating = False
Lastrow = ActiveSheet.UsedRange.Rows.Count
For i = Lastrow To 1 Step -1
If WorksheetFunction.CountA(Rows(i)) = 0 Then
.Calculation = xlCalculationAutomatic
.ScreenUpdating = True
The code works f...Hiding "0" values in pivot table
In a worksheet I have a listing of stock records with ItemNumber, Date,
StockLocation and NumberOnStock. When I make simple Pivot Table with
ItemNumber and StockLocation as rows and select a Sum of "NumberOnStock"
I would like to hide rows where the sum is "0". But this does not seem
to be possible.
Tried to follow the guidelines in the Microsoft article:
But no luck :-(
You could use conditional formatting on these cells - highlight the
cells,...Compile VBA script to make it portable to other computers
I made a Word VBA script, which doing various operations on file and
headers, footers, etc and i want to move it to other computers. How
this can be done? Is there a way to compile script?
"huk" <firstname.lastname@example.org> wrote in message
> I made a Word VBA script, which doing various operations on file and
> headers, footers, etc and i want to move it to other computers. How
> this can be done? Is there a way to compile script?
Distributing macros to other users
http://...Hiding formuals in cells question
Hi. I was wondering if there was a way to hide the formulas in cells without
protecting the sheet. I am making something for other teachers at my school
and I want to hide the formulas so they won't mess anything up on the
spreadsheet. Any help would be greatly appreciated. Thanks!
not without protecting the sheet but why is this a problem for you?
"JP" <JP@discussions.microsoft.com> schrieb im Newsbeitrag
> Hi. I was wondering if there was a way to hide the fo...hide my name
When replying to an email or creating one from scratch how do i hide my name
in the "from" field...thx
fred <email@example.com> wrote:
> When replying to an email or creating one from scratch how do i hide
> my name in the "from" field...thx
Are you saying you want the reply to be anonymous?
Brian Tillman [MVP-Outlook]
no, I don't mind if my email is revealed.. just my name. I have tried by
removing it from the "User Name:" field in the email account but it
continues to show up. I have also removed from the header informati...Automatically Highlight Every Second Row in Excel
I would like to know if there is any way to have excel automatically
highlight every second row in a sheet to make it easier to read accross the
Can you use conditional formatting?
If yes, see Chip Pearson's site:
> I would like to know if there is any way to have excel automatically
> highlight every second row in a sheet to make it easier to read accross the
...Fixing a row number for an item
Good evening all.
I have trawled through google, but to no avail - maybe I was not precise enough.
Any assistence here would be most appreciated.
I have a simple table as below:
1 Reference Cost (�) - Headers
2 115 89
3 102 25
4 026 56
5 012 99
6 155 22
7 102 12
Now I sort the table - descending (B) - (I stipulate a header row).
However I wish to be able to re-sort, to...Excel startup bug: VBA Run-time error 76??
Yesterday, Excel started giving me error messages whenever I
start it up. I uninstalled Office 2000, reinstalled it, and I
still get the same error.
Here is what happens. MS Visual Basic displays a dialog box that
Run-time error '76':
Path not found
When I hit the debug button, it highlights (in yellow) the
following line of code:
lengthOfFile = Filelen(registryValue)
What should I do to fix this annoying problem?
Delete the ZZZ.
It keeps spam
off the server.
Start it with a switch
"C:\program files\microsoft office\office\excel.exe" /...Hiding and Un-Hiding Data fields
I am using a form for people to select data via dropdown menus and then
having it run through a query to filter results. Is there a way that I can
have certain feilds hidden until a toggle button or something of the like is
Basically I want have three choices of buttons: Year, Quarter, and Month.
What I ideally want to happen is when someone selects the button for year, a
hidden drop down menu appears where they can then choose from the available
years to filter through the query.
I would say I am above average with using access, but I have no idea how to
hide fields and then...How do I hide gaps in an Excel 2007 chart?
I have a bar chart that is showing gaps and i don't want them. The select
data > hidden and empty cell button does not give an option to hide gaps. I
think by default they are hidden but if you even click on this to see what it
does the gaps are shown and no way to turn off.
If you hide the actual rows then with the Plot visible cells only
setting on the gaps will be removed.
In xl2007 the setting is on the Select Data dialog, Hidden/empty cells
> I have a bar chart that is showing gaps and i don't want them. The s...How to get rows from 4 diff permitations??
Wondered if you could help.
I have 2 tables of data like so:
TID PID YEAR TERMID MATHSLEVEL READLEVEL
1 1 2006 0 W1 W2
2 2 2006 0 1B W4
3 3 2006 0 W1 W2
4 4 2006 0 2C 5A
5 1 2007 1 W1 W2
6 2 2007 ...Hiding a worksheet #3
I want to hide a worksheet. So, I went to the format menu and the "worksheet" option is grayed out. Why? And, how do I "ungray" it.
is your worksheet protected ?
> I want to hide a worksheet. So, I went to the format menu and the
> "worksheet" option is grayed out. Why? And, how do I "ungray" it.
I think Frank meant to ask about the Workbook--not the worksheet.
(Check under Tools|protection|Protect workbook or Unprotect workbook)
My question is: Is there another sheet in the w...VBA write macro change column with 3 number digits to 4 digits the
Do you mean
Range("D1:D10").NumberFormat = "0000"
"James C" wrote:
Use the white space (here) to record details of your requirements -
don't try to put it all in the message header.
On Jan 25, 1:51=A0pm, James C <Jam...@discussions.microsoft.com> wrote:
Thanks for your response
"Jacob Skaria" wrote:
> Do you mean
> Sub Macro()
> Range("D1:D10").NumberFormat = "00...Hide images when Hiding Rows
I have inserted images into cells, but when I hide the column the images
are not hidden with that column, they just get squished between the two
cells next to the hidden cell. Is there a setting or way to tie the
image to that cell so that it hides/unhides appropriately with the row?
kurt's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=35686
View this thread: http://www.excelforum.com/showthread.php?threadid=554712
You cannot insert an image into a cell.
You can overlay ...how to hide an ActiveX control?
i have an ActiveX control, written in C++, which has the
OLEMISC_INVISIBLEATRUNTIME flag set, yet when i display the web page
it is attached to, i get the familiar "red cross" graphic in the
middle of the screen - how can i hide the control so nothing is
displayed at all?
can u set the size of ur control as 1x1 pixels
"bhu Boue vidya" <firstname.lastname@example.org> wrote in message
> hi there
> i have an ActiveX control, written in C++, which has the
> OLEMISC_INVISIBLEATR...Hiding plot Area
I have a formatted output sheet that has a Pie Chart
embedded. The data for the pie chart comes from a second
sheet using 2 ranges B2:B6 & D2:D6 B2:B6 is always
populated and contains labels. What I want to do is, when
D2:D6 contains 0 in each cell (or Null), suppress the Pie
chart but always show the Legend (which is driven by B2:B6)
All you see of the pie when all values are zero is a single line at the
first slice. The legend still appears. To hide the line, double click on
one of the wedges and on the Patterns tab, change the Border setting to
None. ...Hiding rows with VBA
In my sheet called "insertsheet I have this VBA:
(thanks to some users of Google groups)
Private Sub Worksheet_Change(ByVal Target As Range)
Const nMAX As Long = 10
Dim nRows As Long
Application.ScreenUpdating = False
If Intersect(Target(1), .Cells) Is Nothing Then Exit
nRows = .Value
.Range(.Cells(1, 5), .Cells(1, _
.Columns.Count)).EntireColumn.Hidden = True
.Range(Cells(1, 5), .Cells(1, _
...date mask via vba?
Anyone have any code to simulate a date mask on a Word form that works like a
date mask on an Access form. i.e. slashes are automatically entered as user
types a date in the format mm/dd/yyyy
If this is a protected form field, set its property type to Date and apply a
mask. Protect the form, then any valid date input will be converted to match
your mask. No vba required.
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http:/...hiding rows
I have data in cells A7:DK394 which all have 0 in them until totals are added
in other worksheets which then pullthrough.
At the end of the week I have to Hide all rows from A7 to A394 that still
have 0 in them as no totals have been added in other sheets so the customer
has not posted with us.
is there any way excell can recognise the cells that have no data against
them and hide them automatically by pressing a button. or if they all start
off hidden unhide as data is entered.
Hopefully this makes sense
many thanks for any help with this as again its to save me lots of...Return a name in the same row
I have a 2 sheet spreadsheet. I want a formula to match a cell in column A of
sheet 1 to a matching cell in column a of sheet 2 and return a name form the
same matching row in column C of sheet 2. I have searched for this formula
and cannot find it. Please help.
CustNum ShopNum LastName
1 5 Name one
2 5 Name two
5 53 Name three
7 57 Name four
8 8 Name five
9 9 Name six
10 10 Name seven
11 11 Name eight
12 340 Name nine
13 12 Name ten
14 13 Name eleven...Outlook-hiding recipients addresses
How do you send a mailing to a distribution list without
exposing their email addresses to the other recipients?
Put the DL name in the BCC field and put your own address in the TO field.
> How do you send a mailing to a distribution list without
> exposing their email addresses to the other recipients?
I must hide some contacts from GAL excepted for 2 user that must to see them
and select to send email.
If only 2 users need a Contact, why not have them create it in their
MVP - Exchange
NEW blog location:
"MauroR" <MauroR@discussions.microsoft.com> wrote in message
>I must hide some contacts from GAL excepted for 2 user that must to see
> and select to send email.
Th...How do I hide email addresses in outgoing mail
Hint: You post your question in the body of the post, not the Subject.
Hint 2: Use the BCC field.
"Dennis" <Dennis@discussions.microsoft.com> wrote in message
"Dennis" <Dennis@discussions.microsoft.com> wrote in message
PLEASE write your question in the body of the post and NOT just the subject
Have a look here: http://dts-l.net/goodpost.htm
As posted here MANY MANY times - put them in the BCC...Insert rows in Excel Ledger problem
I am using a ledger for simple accounts, Date, Name, Service, Amount
The far right column keeps a running total. I have however omitted
some data and am trying to add rows in various places in date order.
I can insert the rows no problem, however, the final right hand cell
remains blank and will not update the total.
I have tried the format painter which works for all cells but the
last, the format bar is greyed out along with anything else I thought
I could use to solve the problem.
I have tried adding the data on the last row and dragging it up to
where I want it but as ...new row insert on data entry
I am relatively new to excel.
Im developing a quoting tool using excel that consists of a number of drop
down lists. What i want to do is when i select something from a drop down
list, a new row will automatically be inserted underneath my selection. This
feature will give me the option to continue adding entries without having to
insert rows manually.
Also, when a new row is inserted, i would like all the formulas associated
with the previous row to be preserved in the new row.
Any help is greatly appreciated.
Depending on the version of excel, you may find that: