-
WSBrooke
AskWoody LoungerAnother option might be to ask chrisgreaves if he has a tool that can do this or look on his website – I know he was working on something along these lines a long time ago…
-
WSBrooke
AskWoody LoungerI’ve used Prettycode in a previous life (but only in excel) and it could do all modules in a workbook but I’m fairly sure it couldn’t do all modules in all workbooks open – and I’m certain you had to have the file open (but apart from that, it’s well worth the money!)
-
WSBrooke
AskWoody LoungerTry Alt and Tab or Control and Tab – one of those should do what you want.
-
WSBrooke
AskWoody LoungerBrilliant – thanks for that. ( I won’t be re-editing the SQL – It was already making my eyes glaze over!!!)
-
WSBrooke
AskWoody LoungerJune 1, 2006 at 1:54 pm in reply to: Green arrows in Upper Left Corner of Cells (Excel 2003) #1014390These are error checking indicators – to turn them off go to Tools | Options | Error Checking and deselect “Enable Background error checking”.
-
WSBrooke
AskWoody Loungeragain, clutching at straws…
You say you’re passing the SendTo in as a string. Have you tried passing it in as an array? Below is an outline of how I do it, but I’ve never gone for large distribution lists so don’t really know if this will help – we tend to set up mailgroups for each automated report. In the example below, the mailgroups could contain upto 30 people each. Would that work for you?
‘~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub SendDailies_SAPFGI()
Dim strSubject As String
Dim strDistList As Variant
Dim strBody As VariantstrSubject = “SAPFGIReport”
strDistList = Array(“EMEA DISTRIBUTION”, “AMI DISTRIBUTION”, “APR DISTRIBUTION”)
strBody = Array(“Today’s FGI report as at 08:00 GMT” , PATH_TEXTFILES & “SAPFGIReport.txt” , “regards” , “Brooke”)Call SendLotusNotesEmail(strDistList, strSubject, , strBody)
End Sub
‘~~~~~~~~~~~~~~~~~~~~~~~~~~~the main sub – with most code stripped out, is as below:
‘~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub SendLotusNotesEmail (varDistList As Variant, strSubject As String, Optional varCopyList As Variant, Optional varBody As Variant, Optional strPriority As String = “N”, Optional strImportance As String = “2”)‘declare notes objects
‘declare standard variables
‘set up document
‘assign standard document values‘assign passed document values
doc.Subject = strSubject ‘give it a subject
doc.SendTo = varDistList ‘set the SendTo field to the distribution list
doc.CopyTo = varCopyList‘build body of email here if you want to
‘get rid of the thing
Call doc.SEND(False, doc.SendTo)
Call doc.Save(False, False)‘kill all notes references
End Sub
‘~~~~~~~~~~~~~~~~~~~~~~~~~~~HTH
-
WSBrooke
AskWoody LoungerI was going to apologise about the time-delay in replying, but I’m not sure that’s necessary?
I was hoping that you could do it by amending the code:
‘~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Call doc.Save(False, False)
Call doc.SEND(False, doc.SendTo)
‘~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~to
‘~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Call doc.Save(False, False)
Call doc.Activate
‘~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~However, .Activate is not a method of the NotesDocument Class: doc.Save does, however, put the document in the draft folder, so you could navigate to that and open it manually…
My mind is fuzzy when it comes to notes, but I’m sure I remember seeing code that does activate/open a document in the User interface, but I can’t find how to do it using NotesDocuments or NotesItems. It may be possible to get at the draft by the NotesUIView class so that you can then activate it using one of the other NotesUI classes. I’ll keep looking for you, but I’m afraid I can’t promise anything. Hopefully the manually opening the draft will tide you over.
-
WSBrooke
AskWoody LoungerAgreed. I find it curious that different people get different numbers, but I guess it is just that – a curiosity. FWIW, iseven and yield produce the same behaviour, but I doubt I’ll be investigating any further.
-
WSBrooke
AskWoody Loungerare you suggesting i don’t have it permanently running?
I checked with the version i had, and have just checked with the most recent version on your website – all add-ins disabled, I get no names in the workbook and =isodd(25) returns #value, but =isodd still returns -154468285. curious
-
WSBrooke
AskWoody LoungerDoes anybody know why,if i type “=isodd” (no brackets – I was playing and hit the enter key too soon) in a cell, I get the result “-154468285”? another addin using this as a defined name perhaps (I do have hyperion essbase installed, which does do some odd things on occasion,) or some other explanation?
-
WSBrooke
AskWoody LoungerIt is possible – you’ve just got your brackets muddled. The following works for me:
=IF(OR(AND(A1>0,A10,B1<10)),"OKAY",0)
-
WSBrooke
AskWoody Loungertry changing the line “For c = 1 To c = 20” to “For c = 1 To 20” – any better?
-
WSBrooke
AskWoody LoungerJuly 13, 2005 at 3:32 pm in reply to: Create list of all macros in personal workbook (Excel 2000 SR1) #959609thanks for the catch…
-
WSBrooke
AskWoody LoungerJuly 13, 2005 at 2:09 pm in reply to: Create list of all macros in personal workbook (Excel 2000 SR1) #959588Here’s some quick and dirty code I cobbled together some time ago – there are probably tidier ways of doing this. I’m not sure, but the original source would probably have been either here, j-walk or chip (but all errors are mine entirely!) This works on the active workbook only.
Sub ListFuncsAndProcs() Dim aComp Dim WkBkComps Set WkBkComps = ActiveWorkbook.VBProject.VBComponents Dim RowVal As Integer, colval As Integer Application.DisplayAlerts = False On Error Resume Next Sheets("list of funcs and procs").Delete On Error GoTo 0 Application.DisplayAlerts = True Sheets.Add.Name = "list of funcs and procs" ActiveWindow.Zoom = 50 colval = 1 Cells(1, colval).Value = ".Name" Cells(2, colval).Value = ".Type" Cells(3, colval).Value = ".codemodule" Cells(4, colval).Value = ".count of lines" ActiveSheet.UsedRange.EntireColumn.AutoFit colval = 2 Dim intCol As Integer On Error Resume Next For Each aComp In WkBkComps Cells(1, colval).Value = aComp.Name Cells(2, colval).Value = aComp.Type Cells(3, colval).Value = aComp.CodeModule intCol = aComp.CodeModule.CountOfLines Cells(4, colval).Value = intCol Dim x RowVal = 5 Dim strtemp For x = 1 To intCol strtemp = aComp.CodeModule.Lines(x, 1) If Left(strtemp, 8) = "Function" Then Cells(RowVal, colval).Value = strtemp: RowVal = RowVal + 1: End If If Left(strtemp, 16) = "Private Function" Then Cells(RowVal, colval).Value = strtemp: RowVal = RowVal + 1: End If If Left(strtemp, 15) = "Public Function" Then Cells(RowVal, colval).Value = strtemp: RowVal = RowVal + 1: End If If Left(strtemp, 3) = "Sub" Then Cells(RowVal, colval).Value = strtemp: RowVal = RowVal + 1: End If If Left(strtemp, 11) = "Private Sub" Then Cells(RowVal, colval).Value = strtemp: RowVal = RowVal + 1: End If If Left(strtemp, 10) = "Public Sub" Then Cells(RowVal, colval).Value = strtemp: RowVal = RowVal + 1: End If Next colval = colval + 1 Next End Sub
-
WSBrooke
AskWoody Loungeryes, I experience the same – “this query returned no data…” – same excel as you – 2002 sp3
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
Limits on User Names
by
CWBillow
42 minutes ago -
Limits on User Names
by
CWBillow
42 minutes ago -
MS-DEFCON 4: Mixed bag for March
by
Susan Bradley
1 hour, 21 minutes ago -
Non Apple Keyboards
by
pmcjr6142
8 hours, 30 minutes ago -
How to delete your 23andMe data – The Verge
by
AJNorth
35 minutes ago -
7 common myths about Windows 11 (Microsoft AD)
by
EyesOnWindows
13 hours, 7 minutes ago -
Error updating to Win11 0x8024a205
by
bmeacham
12 hours, 59 minutes ago -
default apps
by
chasfinn
12 hours, 40 minutes ago -
Will MS Works 4 work in MS Win 11?
by
MileHighFlyer
20 hours, 35 minutes ago -
Adding links to text in Word 2000
by
sgeneris
12 hours, 36 minutes ago -
FBI warnings are true—fake file converters do push malware
by
Nibbled To Death By Ducks
14 hours, 14 minutes ago -
Classic and Extended Control Panel — no need to say goodbye
by
Deanna McElveen
4 hours, 11 minutes ago -
Things you can do in 2025 that you couldn’t do in 2024
by
Max Stul Oppenheimer
1 day, 1 hour ago -
Revisiting Windows 11’s File Explorer
by
Will Fastie
10 hours, 5 minutes ago -
Planning ahead for migration
by
Susan Bradley
5 hours, 4 minutes ago -
Yahoo mail getting ornery
by
Tom in Az
12 hours, 49 minutes ago -
Is Spectrum discontinuing email service?
by
Peobody
16 hours, 20 minutes ago -
Practice what you preach! A cautionary tale.
by
RetiredGeek
12 hours, 53 minutes ago -
Looking for Microsoft Defender Manuals/Tutorial
by
blueboy714
17 hours, 5 minutes ago -
Win 11 24H2 Home or Pro?
by
CWBillow
13 hours, 36 minutes ago -
Bipartisan Effort to Sunset the ‘26 Words That Created the Internet’..
by
Alex5723
2 days, 23 hours ago -
Outlook new and edge do not load
by
cHJARLES a pECKHAM
3 days, 11 hours ago -
Problem using exfat drives for backup
by
Danmc
3 days, 11 hours ago -
I hate that AI is on every computer we have!
by
1bumthumb
2 days, 13 hours ago -
Change Info in the Settings window
by
CWBillow
3 days, 18 hours ago -
Attestation readiness verifier for TPM reliability
by
Alex5723
4 days ago -
Windows Update says that “some settings are managed b your organization”
by
Ed Willers
3 days, 10 hours ago -
Use of Gmail rejected.
by
CBFPD-Chief115
3 days, 11 hours ago -
WuMgr operational questions
by
Tex265
12 hours, 25 minutes ago -
Beijing’s unprecedented half-marathon: Humans vs. humanoids!
by
Alex5723
4 days, 16 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.