-
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
![]() |
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
-
advice for setting up a new windows computer
by
routtco1001
3 hours, 47 minutes ago -
It’s Identity Theft Day!
by
Susan Bradley
25 minutes ago -
Android 15 require minimum 32GB of storage
by
Alex5723
8 hours, 36 minutes ago -
Mac Mini 2018, iPhone 6s 2015 Are Now Vintage
by
Alex5723
8 hours, 46 minutes ago -
Hertz says hackers stole customer credit card and driver’s license data
by
Alex5723
9 hours, 16 minutes ago -
Firefox became sluggish
by
Rick Corbett
6 hours, 10 minutes ago -
Windows 10 Build 19045.5794 (22H2) to Release Preview Channel
by
joep517
13 hours, 15 minutes ago -
Windows 11 Insider Preview Build 22635.5235 (23H2) released to BETA
by
joep517
13 hours, 43 minutes ago -
A Funny Thing Happened on the Way to the Forum
by
bbearren
9 hours, 15 minutes ago -
Download speeds only 0.3Mbps after 24H2 upgrade on WiFi and Ethernet
by
John
10 hours, 38 minutes ago -
T-Mobile 5G Wireless Internet
by
WSmmi16
2 hours, 36 minutes ago -
Clock missing above calendar in Windows 10
by
WSCape Sand
3 hours, 10 minutes ago -
Formula to Calculate Q1, Q2, Q3, or Q4 of the Year?
by
WSJon5
1 day, 4 hours ago -
The time has come for AI-generated art
by
Catherine Barrett
8 hours, 33 minutes ago -
Hackers are using two-factor authentication to infect you
by
B. Livingston
18 hours, 13 minutes ago -
23 and you
by
Max Stul Oppenheimer
1 day, 1 hour ago -
April’s deluge of patches
by
Susan Bradley
4 hours, 46 minutes ago -
Windows 11 Windows Updater question
by
Tex265
5 hours, 14 minutes ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
2 days, 10 hours ago -
Registry Patches for Windows 10
by
Drcard:))
2 days, 14 hours ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
1 day, 21 hours ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
1 day, 6 hours ago -
Align objects on a OneNote page
by
CWBillow
2 days, 20 hours ago -
OneNote Send To button?
by
CWBillow
2 days, 21 hours ago -
WU help needed with “Some settings are managed by your organization”
by
Peobody
3 days, 5 hours ago -
No Newsletters since 27 January
by
rog7
1 day, 10 hours ago -
Linux Mint Debian Edition 7 gets OEM support, death of Ubuntu-based Mint ?
by
Alex5723
2 days, 6 hours ago -
Windows Update “Areca Technology Corporation – System – 6.20.0.41”
by
Bruce
2 days, 4 hours ago -
Google One Storage Questions
by
LHiggins
1 day, 12 hours ago -
Button Missing for Automatic Apps Updates
by
pmcjr6142
1 day, 20 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.