-
H. Legare Coleman
AskWoody PlusThat will give you hours and decimal part of an hour, not hours and minutes. This is fine if it is what he wants.
-
H. Legare Coleman
AskWoody PlusTry using a custom format of:
[h]:mm
The brakets must be entered into the format. This tells Excel to fromat the time value as an elapsed time (can be more than 24 hours) not a time of day.
-
H. Legare Coleman
AskWoody PlusIn the VBA Editor, in the project explorer, right click on the workbook and select view code from the pop up menu. At the top of the VB editor window in the left drop down list where is should say “General,” drop the list down and select “Workbook.” If the right drop down list does not now say “Open” then drop the list down and select “Open.” The edit area should now contain:
Private Sub Workbook_Open() End Sub
Put your Auto_Open code between those two lines. It should open when the workbook is opened.
-
H. Legare Coleman
AskWoody PlusWhen were you trying? The entire MS network has been down/inaccessable for most of two days this week (I’m not sure how you tell since it is usually so slow that it is hard to tell if it is working or not
). The first time this week they were down because a technician made a bad change in one of their network routers. The second time was because of a hacker Denial Of Service attack flooding their DNS servers with invalid requests. It hasn’t been a good week for them.
-
H. Legare Coleman
AskWoody PlusOverhead, and which to use would depend on exactly what you are doing. If you do not have a lot of formatting that is message dependant, then using a single form is probably what I would do. If each massage requires a lot of different formatting that would have to be done with code for a single form, but could be done at design time with multiple forms, then I would probably use multiple.
-
H. Legare Coleman
AskWoody PlusThe only Icon/image that I know of that you can put into a msgbox is the standard question mark, exclamation point, etc that you control with the msgbox parameters. I don’t think you can put your own icon/image in a msgbox. Yes, I would use a user form to do this.
-
H. Legare Coleman
AskWoody PlusI had a similar requirement in an application that I wrote, and unfortunately I did not find an easy solution. What I ended up doing was to have the application set up its own Menu and tool bars and replace the Print buttons with buttons that execute my own VBA code. You could also just replace the buttons on the standard menus and tool bars it this is the only change you need to make. Then the VBA code displays a print setup form if necessary, makes the format changes, uses the .Printout method to print he necessary ranges, and then changes the formats back. The really complex part comes in managing when your menu and tool bar changes get made and when you change them back to the standard Excel commands. There are many events that have to do this, and Excel is not very consistent about when some of these events fire. Good luck.
-
H. Legare Coleman
AskWoody PlusThere are several approaches that you can take to accomplish this, and Stephan has given you one. However, it does have a possible problem of having the macro run when you don’t want it to.
Another method would be to create another workbook that contains an Auto_Open macro. You can then schedule Excel to run with this workbook as a parameter on the command line. The Auto_Open macro would then open workbook 2 that contains the data and the macro that you want to run, and it would then run the macro. This way, when you just open workbook 2, the macro would not run.
-
H. Legare Coleman
AskWoody PlusNenad: You will need OCR (Optical Character Recognition) software for the scanner. This software attempts to turn the scanned image into ASCII text. The success of this is dependant on a number of things like the resolution of the scanner, the quality of the document being scanned, the size and font of the text in the document. Under perfect conditions, you are likely to get a 98% correct scan. It has been a few years since I did any of this, so I don’t know what software is available today. I would guess that there is a fairly good chance that the software came on the disk/CD that came with the scanner, but you may get a better conversion from software you pay separately for.
-
H. Legare Coleman
AskWoody PlusMost likely there is something in the cells that makes Excel think that the values are text not numbers. It could be something like spaces before the first digit or some other non-display character. When you retype the number, you are removing whatever is causing the problem. How did the data in the cells get there in the first place? Was the data imported from a file, copied and pasted from somewhere like a web page, or some other source that might have included some non numeric characters? This could also cause things to not sort correctly. Another possibility is that the cells are formatted as text.
The maximum number of rows for Excel 2000 is 32,767. For Excel 95 and earlier it is 16,383. I’m not sure which it is for Excel 97, but it is one of those two.
-
H. Legare Coleman
AskWoody PlusEddie: I think that should always happen when you reply to a message that contains an attachment since it is assumed that the person that sent the attachment already has it. It should not happen when you forward a message, and if it is I do not know what might be causing it.
-
H. Legare Coleman
AskWoody PlusKeely: The following VBA Subroutine will add one to cell C3 when executed:
Public Sub AddOne() Range("C3").Value = Range("C3") + 1 End Sub
-
H. Legare Coleman
AskWoody PlusIn the cases you gave, it has the same affect as if you put a zero in front of the plus or minus sign. In the case of the plus sign, 0+B11 is the same as B11 and having the plus sign there does nothing. In the case of the minus sign, 0-D3 changes the sign of the value in cell D3 before it is used. If D3 contains a 3, then the value used in the calculation is -3. If D3 contains -3, then the value used in the calculation is +3.
-
H. Legare Coleman
AskWoody PlusRight click on your desktop and select “Properties” from the pop up menu. In the resulting “Display Properties” dialog box click on the tab at the top labeled “Plus!”. In that display check to see if your “Recycle Bin (empty)” icon has been changed to be the same as the “(full)” icon. If so, then change it back to the “(empty)” icon.
-
H. Legare Coleman
AskWoody PlusRicky: There are a number of things that you can do, depending on how you are using this “spreadsheet”. The easiest would be to insert the date manually into the cell by selecting the cell and pressing Ctrl/; (hold the Ctrl key down and press the semi-colon). The only other choice that I know of without writing some VBA code is to use the forula you have already tried, but then manually copy the cell and do a Paste/Special/Values to replace the formula with the value. However, that takes more actions than just entering the date with Ctrl/;.
If you want to automate this, then you will need some VBA code. If you are using the “spreadsheet” as a template, then you can attach this code to the NewWorkbook event, and have the code place the date into the appropriate cell. If you are simply opening the spreadsheet, then you would attach the VBA code to the Workbookopen event. The code would have to check the cell where you want the date to see if it already contains a date, and if it does not then insert the date.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Windows 10 22H2 Update today (5 June) says up-to-date but last was 2025-04
by
Alan_uk
16 minutes ago -
Thoughts on Malwarebytes Scam Guard for Mobile?
by
opti1
3 hours, 25 minutes ago -
Mystical Desktop
by
CWBillow
3 hours, 38 minutes ago -
Meta and Yandex secretly tracked billions of Android users
by
Alex5723
6 hours, 20 minutes ago -
MS-DEFCON 2: Do you need that update?
by
Susan Bradley
47 minutes ago -
CD/DVD drive is no longer recognized
by
WSCape Sand
18 hours, 51 minutes ago -
Windows 11 24H2 Default Apps stuck on Edge and Adobe Photoshop
by
MikeBravo
21 hours, 40 minutes ago -
North Face and Cartier customer data stolen in cyber attacks
by
Alex5723
19 hours, 46 minutes ago -
What is wrong with simple approach?
by
WSSpoke36
12 hours, 18 minutes ago -
Microsoft-Backed Builder.ai Set for Bankruptcy After Cash Seized
by
Alex5723
1 day, 7 hours ago -
Location, location, location
by
Susan Bradley
59 minutes ago -
Cannot get a task to run a restore point
by
CWBillow
1 day, 8 hours ago -
Frustrating search behavior with Outlook
by
MrJimPhelps
23 hours, 20 minutes ago -
June 2025 Office non-Security Updates
by
PKCano
1 day, 19 hours ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
15 hours, 46 minutes ago -
Firefox Red Panda Fun Stuff
by
Lars220
1 day, 19 hours ago -
How start headers and page numbers on page 3?
by
Davidhs
2 days, 5 hours ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
1 day, 8 hours ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
2 days, 14 hours ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
2 days, 14 hours ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
2 days, 4 hours ago -
Firefox 139
by
Charlie
1 day, 20 hours ago -
Who knows what?
by
Will Fastie
23 hours, 4 minutes ago -
My top ten underappreciated features in Office
by
Peter Deegan
2 days, 15 hours ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
8 hours, 43 minutes ago -
Misbehaving devices
by
Susan Bradley
1 day, 10 hours ago -
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
3 days, 21 hours ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
19 hours, 56 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
3 days, 19 hours ago -
Discover the Best AI Tools for Everything
by
Alex5723
2 days, 18 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.