-
WSmikemay
AskWoody LoungerAugust 29, 2002 at 7:05 am in reply to: File Management or How to use startup parameters (97/2000/XP) #612337Porley,
If I understand you correctly, you want to open Excel and your program file (code.vzg) as well as a data file (data.vzg) when you double-click on the data file in Windows Explorer. If that’s the case, take advantage of the fact that Excel can open multiple files from the command line. For example, from the Run… menu:
Excel code.vzg data.vzg
Do be able to do this from Windows Explorer, you need to associate the.vzg file type with an action, as described earlier in the thread. From the Explorer menu, select View/Folder Options…/File type, etc. When you create the .vzg type, edit the Open action, and specify the Application used to perform action as something like this:
“c:Program FilesMicrosoft OfficeOfficeEXCEL.EXE” “C:My Pathcode.vzg” “%1”
This should open Excel, load the code file, then load the data file. I don’t think you will need to check the DDE box.
-
WSmikemay
AskWoody LoungerJohnBF’s code very cleverly takes advantage of the fact that TRUE =1 and FALSE =0. But it still leaves the problem of rounding to -$0.01 if the input is zero. We can fix that by using the IF() function. Note that FLOOR(…, 0.01) would give a numeric error, because the first argument is negative and the second argument is positive. To round the contents of cell A1 (to positive values or zero), use
=IF(A1<0.01,0,CEILING(A1,0.5)-NOT(MOD(CEILING(A1,0.5),1))*0.01)
But, dmerrix, why do you want to round to the nearest half dollar instead of to 49 cents? In the latter case, the code is a bit simpler, and you could round the contents of cell A1 using
=IF(A1<0.01,0,CEILING(A1,0.5)-0.01)
-
WSmikemay
AskWoody LoungerPersonal.xls defaults as a hidden workbook. It’s true that you can still access it by opening the VBE and using the Project Explorer. But if you were thinking of getting to it from Excel by using
Tools/Macro/Macros…/Edit,
you’ll need to unhide the workbook first:
Window/Unhide…
-
WSmikemay
AskWoody LoungerHans,
I fooled around with sorting by Custom Lists until I got them working. There were two bugs/inaccuracies in the Help, though:
- AddCustomList method does fail if the list already exists; and
- These constants are backwards: xlSortOrientation.xlSortColumns =1, xlSortOrientation.xlSortRows =2; but
the macro recorder constants work: Constants.xlLeftToRight=2 Constants.xlTopToBottom=1
Thanks again for your tip.
-
WSmikemay
AskWoody LoungerI also prefer working in the Normal view. That’s probably a holdover habit from the old days of Word 2.0 and ‘286 computers, when other views caused a real performance hit. As far as I know, the watermarks/backgrounds are only visible in Web Layout (or possibly Print Layout) view. This defeats the purpose of making sure that a recipient of an electronic Word document knows that it is a draft. The PDF solution is probably the best one, but I wanted to use a tool I already had, if possible.
I didn’t need a time-sensitive watermark. My post was to a thread on the Windows 98 board, responding to an enquiry about a “time bomb” function to automatically delete files after a specified time had expired. Kind of like the old Mission Impossible scenario: this file will destruct in 60 seconds. Someone suggested that watermarks would be a better solution to his problem; hence,my question. The context for all of this disappeared when my post got transferred to the Word board. Thank you to those who responded.
-
WSmikemay
AskWoody LoungerOh, of course! Custom Lists, not array variables.
Now it makes sense. I’ll give it a try.
Thanks, Hans! -
WSmikemay
AskWoody LoungerEdited by DaveA on 04-Sep-01 16:34.
Added hot link code
Another source for information on file extensions and their respective formats is http://www.wotsit.org/
-
WSmikemay
AskWoody LoungerIs this the way the SBE contact manager is supposed to work?
Is there a way to fix it (for instance, can I install another contact manager from the CD, and if so, how)?
Thanks.
![]() |
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
-
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
4 hours, 11 minutes ago -
Office apps read-only for family members
by
b
6 hours, 47 minutes ago -
Defunct domain for Microsoft account
by
CWBillow
3 hours, 39 minutes ago -
24H2??
by
CWBillow
1 hour, 45 minutes ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
15 hours, 33 minutes ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
8 hours, 46 minutes ago -
TotalAV safety warning popup
by
Theodore Nicholson
3 hours, 36 minutes ago -
two pages side by side land scape
by
marc
2 days, 4 hours ago -
Deleting obsolete OneNote notebooks
by
afillat
2 days, 6 hours ago -
Word/Outlook 2024 vs Dragon Professional 16
by
Kathy Stevens
1 day, 9 hours ago -
Security Essentials or Defender?
by
MalcolmP
1 day, 12 hours ago -
April 2025 updates out
by
Susan Bradley
7 hours, 17 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
1 day, 5 hours ago -
WARNING about Nvidia driver version 572.83 and 4000/5000 series cards
by
Bob99
19 hours, 45 minutes ago -
Creating an Index in Word 365
by
CWBillow
1 day, 22 hours ago -
Coming at Word 365 and Table of Contents
by
CWBillow
10 hours, 20 minutes ago -
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
3 days, 1 hour ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
3 days, 5 hours ago -
W11 24H2 – Susan Bradley
by
G Pickerell
3 days, 7 hours ago -
7 tips to get the most out of Windows 11
by
Alex5723
3 days, 5 hours ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
2 days, 22 hours ago -
I installed Windows 11 24H2
by
Will Fastie
1 day, 4 hours ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
3 days, 10 hours ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
3 hours, 45 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
3 days, 18 hours ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
3 days, 2 hours ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
3 days, 3 hours ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
4 days, 11 hours ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
4 days, 20 hours ago -
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
19 hours, 45 minutes 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.