-
WSkmedgyes
AskWoody LoungerHi Wassim,
As you suggested, we found the eml file in the XLstartup file on the D: drive and deleted it.
When we ran Excel anew, it started with a fresh Book1, to which we responded with much elation.
However, we didn’t just want to look at the new Book1, so we ventured into new territory; we actually tried a File|Open.
The result was not encouraging.
We got Msgboxes and one dialog window:Message: Dial-up Networking : Cannot load dialog
Error 623: Cannot find the phonebook entry.Dialog: Find Fast
(D) Update automatically 3/28/02
© Update automatically 3/28/02Msgbox: Dr Watson for Windows NT
An application error has occurred and an error log is
being generated.Such an abundance of information! And I haven’t got the slightest idea what all this means.
We are in need of an oracle.
-
WSkmedgyes
AskWoody LoungerHi Charlotte,
Thanks for replying. You know, I finally solved the problem after two days of poking around.
The problem was the the ocx had been deleted when I used an Uninstaller program to clean up a lot of debris on my pc. As a result the common dialog was de-registered.
In Access, to register a library, you go to Tools | References. Not so in VB5. The references are found under Project References. But it wasn’t on the list of available items until you first check it on Project Components. Even after I discovered that, I couldn’t find the comdlg on the toolbar. It was on the toolbar allright, way below the horizon, but because it had no vert. scrollbar you wouldn’t know it was there.
I didn’t find it until I decided to lengthen the toolbar (just out of boredom I guess). After that it was simply a matter of dropping the objects on the form and naming them. The original event code was still there. I had just forgotten about how to register the ocx. You do it once, and forget about it (at your own risk it seems).
Thanks again for your efforts.
-
WSkmedgyes
AskWoody LoungerEdited by WebGenii on 13-Jul-01 11:59.
I am sorry, but I am not able to help you any further. I cannot duplicate your problems and I can’t find anything in Help. Read Move or Copy sheets.
Try FreeAnswers.com also.
http://www.freeanswers.com/default.asp -
WSkmedgyes
AskWoody LoungerNot entirely sure what the problem is.
The links on sheet 2 are missing, but sheet 2(2) works fine.
After I fixed links on sheet 2 and copied the sheet to 2(3), sheet 2(3) also works fine.Saved the file and re-opened it, and everything is still working as I hoped.
Are we on the same page?
-
WSkmedgyes
AskWoody LoungerThis is an interesting challenge.
First, I tried Legare’s code, but I made a few modifications so I could see it give me some feedback.
Go to the VBA editor and select in the VBA project window, under Microsoft Excel Objects: Sheetn
(Quotes)Copy and paste the following code:
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Not Intersect(Target, Worksheets(“Quotes”).Range(“C:C”)) Is Nothing Then
If Target.Value > 10 Then
Target.Font.Bold = True
Else
Target.Font.Bold = False
‘Send the email here
End If
End If
End SubThis code is for a worksheet Change event. So each time you select a cell and change it, the event code kicks in. To watch it perform, set a breakpoint at the beginning of the Sub.
In this code , you should see Bold in the selected cell go on or off depending on the cell’s value.
Once you understand how this piece works, you still have the task of sending the quote value by email. Which is our next challenge.
-
WSkmedgyes
AskWoody LoungerJune 29, 2001 at 8:41 pm in reply to: Counting Non-Zero Values (with a twist!) (Excel 2000 S #531407Thank you cpod for showing us yet another way to solve a problem.
My code worked, but your formula certainly seems more efficient in a number of ways.
I took your formula apart and learned how it works and it opens new opportunities.
-
WSkmedgyes
AskWoody LoungerHi Drk,
Sorry, I must be a bit confused, but I think you want
to compare the typed value in the Combobox to the
combobox list?Try this code:
Private Function AlreadyListed(ListControl As Control, NewItem As String) As Boolean
Dim i As IntegerAlreadyListed = False
For i = 0 To ListControl.ListCount – 1
If UCase$(ListControl.List(i)) = UCase$(NewItem) Then AlreadyListed = True
Next i
End FunctionPrivate Sub cboOffice_AfterUpdate()
If Not AlreadyListed(cboOffice, cboOffice.Text) Then
‘Do something here
MsgBox “Not in the list”
End If
End Sub -
WSkmedgyes
AskWoody LoungerHi Drk,
Not entirely sure what you’re asking.
>>can I pull this
You can compare new item to combo list and if not found…
>> and put it into another column?
if test is true, you can designate the
Cells(myRow, myCol) = cboBox.Text
-
WSkmedgyes
AskWoody LoungerAnd then what?
-
WSkmedgyes
AskWoody LoungerJune 28, 2001 at 5:17 pm in reply to: Counting Non-Zero Values (with a twist!) (Excel 2000 S #531235Here is some code you can try.
The assumptions are that each series will have a name, iow B3 to N3 will be named Series1, B4 to N4 will be Series2 etc.Sub Calc_Weeks()
Dim NumWeeks As Integer
Dim myCell As Range
Dim myRow As String
Dim FirstCol As Integer
Dim LastCol As Integer
Dim myRangeName As StringmyRangeName = InputBox(“Enter Series name”, “Input”)
NumWeeks = 0
FirstCol = 0
LastCol = -1For Each myCell In Range(myRangeName)
myRow = CStr(myCell.Row)
If myCell.Value 0 Then
If FirstCol = 0 Then
FirstCol = myCell.Column
End IfLastCol = myCell.Column
End IfNumWeeks = (LastCol – FirstCol) + 1
Next myCell
Range(“O” & myRow) = NumWeeks
End SubGive it a try and see if it works for you.
-
WSkmedgyes
AskWoody LoungerThe only version that works for me is:
=IF(AND(ISNUMBER(A1),SUM(B1:E1)=0),NA(),””)
Then use Diego’s excellent method.
-
WSkmedgyes
AskWoody LoungerTry this. Record a macro to setup the header info and then modifiy it to contain the value of a cell on the active sheet. The cell contains the manager’s name, resulting from a lookup in the ManagerList on a separate sheet.
The macro would look something like:
Sub Setup_Header()
Dim myManager As StringmyManager = ActiveSheet.Range(“C1”).Value
With ActiveSheet.PageSetup
.PrintTitleRows = “”
.PrintTitleColumns = “”
End With
ActiveSheet.PageSetup.PrintArea = “$B$3:$C$12”
With ActiveSheet.PageSetup
.LeftHeader = “”
.CenterHeader = “&A” & Chr(10) & “UNIV of IL” & Chr(10) & myManager & Chr(10) & “as of &D”
.RightHeader = “”
.LeftFooter = “”
.CenterFooter = “”
.Zoom = 100
End With
ActiveWindow.SelectedSheets.PrintPreview
End SubRead the .CenterHeader code and see attached xlt to
try it. -
WSkmedgyes
AskWoody LoungerJune 27, 2001 at 3:34 pm in reply to: Linking Data in different Workbooks (Excell 2000/SR-1) #531037Why not put the total line on top of the worksheet, in cell B1 perhaps. That way the location for the links remains the same all the time.
If you don’t want to see the total line, change the font color to the cell’s back color.
The user can just add data to the bottom of the sheet.
Since you already have a macro to find the last row, you can have it also update the total formula(s) on row 1 to include the last row.Sub Update_Totals()
Dim myLastRow As StringGotoLastCell ‘macro to find last row
myLastRow = CStr(ActiveCell.Row)
Range(“B1”) = “=sum(B3:B” & myLastRow & “)”
End Sub -
WSkmedgyes
AskWoody Lounger> I can of course updated by double clicking on the range and then dragging it to include the new data,<
It seems to me that you can do this with a VBA macro.
1. Identify the new data range, first cell/last cell
2. Assign the range (as a string value) to the chart property that needs it.
3. Initiate the action with a button on the sheet(s)What do you think?
-
WSkmedgyes
AskWoody LoungerWhere can I turn off SubDatasheets – there’s nothing in Tools|Options|Datasheets that I can see relates to Subdatasheets. I unchecked all Name Autocorrect boxes on the General tab. Thanks Charlotte!
I am not certain what is meant by Help being ‘bad’ (as compared to other Helps – I have never found an EASY Help
that does not force me to scan thru reams of unrelated info and many levels of hyperlinks just at a time when I am in a hurry to find an answer to a seemingly easy question – maybe I just don’t have the temperament and/or mental organizing ability to deal with this @%#&).My problem with Access Help has been (after several installs) that it continues to ask for the CD even though Help loads in a minimized version on the screen. It’s more of an annoyance than a quality issue.
TIA
![]() |
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
-
MS Passkey
by
pmruzicka
5 hours, 2 minutes ago -
Can’t make Opera my default browser
by
bmeacham
6 hours, 56 minutes ago -
*Some settings are managed by your organization
by
rlowe44
4 hours, 49 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
5 hours, 51 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
1 day, 1 hour ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
1 day, 10 hours ago -
AI slop
by
Susan Bradley
38 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
1 day, 11 hours ago -
Two blank icons
by
CR2
12 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day, 20 hours ago -
End of 10
by
Alex5723
1 day, 23 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
21 hours, 18 minutes ago -
test post
by
gtd12345
2 days, 5 hours ago -
Privacy and the Real ID
by
Susan Bradley
1 day, 19 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 11 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
2 days, 9 hours ago -
Upgrading from Win 10
by
WSjcgc50
21 hours, 28 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
1 day, 1 hour ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
3 days, 1 hour ago -
The story of Windows Longhorn
by
Cybertooth
2 days, 13 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
3 days, 3 hours ago -
Are manuals extinct?
by
Susan Bradley
3 hours, 45 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
3 days, 12 hours ago -
Network Issue
by
Casey H
2 days, 23 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
4 days ago -
May 2025 Office non-Security updates
by
PKCano
4 days ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
4 days, 2 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
3 days, 3 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
4 days, 5 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
4 days, 5 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.