-
WSRNicholsHoHum
AskWoody LoungerIn the hope of not appearing too naive, what happens if you use the record macro option to capture some code when the button is pressed. I don’t know how well this works with a third party application, but it might be worth looking at the code Excel generates to see if that has any pointers in it.
-
WSRNicholsHoHum
AskWoody LoungerI’ve seen this sort of behaviour and the culprit was not in a place I’d expect: It was DNS.
To quickly fix the problem, go into the DNS server and delete the dot folder (that is the folder labelled with a dot (.)). Then use the static addressing. If you don’t have a dot folder in DNS, my diagnosis is wrong.
If you install the DNS service on a Win2k server without having access to the internet, the server thinks it is the only DNS server in its world. It sets itself up as the root server. As a root server it will not go out to the internet root servers to resolve internet names.
To accesses local shares you need to have the server’s DNS set up at the client as the primary DNS server.
What I think you are seeing is that with Static IPs, you are setting the server as the DNS server for each client. In this configuration you will be able to access the shares. However, because the server thinks there are no other root servers, it will not resolve intenernet names (such as http://www.wopr.com) and this effectively stops client computers accessing internet resources that are accessed by name – that is it stops them browsing the internet.
When you switch to DHCP, the DNS server setting is set to point at an external DNS server. This will allow internet names to be resolved and internet browsing will now work. However, you will no longer be able to resolve local names (in particular in the authentication process) and that will effectively stop you accessing local shares.
Personally I’d not only remove the Dot folder in DNS but also reconfigure your DHCP so that it gives out your local server as the primary DNS server to all the clients. Then use DHCP for IP addressing for all the client PCs.
-
WSRNicholsHoHum
AskWoody LoungerI’ve seen this sort of behaviour and the culprit was not in a place I’d expect: It was DNS.
To quickly fix the problem, go into the DNS server and delete the dot folder (that is the folder labelled with a dot (.)). Then use the static addressing. If you don’t have a dot folder in DNS, my diagnosis is wrong.
If you install the DNS service on a Win2k server without having access to the internet, the server thinks it is the only DNS server in its world. It sets itself up as the root server. As a root server it will not go out to the internet root servers to resolve internet names.
To accesses local shares you need to have the server’s DNS set up at the client as the primary DNS server.
What I think you are seeing is that with Static IPs, you are setting the server as the DNS server for each client. In this configuration you will be able to access the shares. However, because the server thinks there are no other root servers, it will not resolve intenernet names (such as http://www.wopr.com) and this effectively stops client computers accessing internet resources that are accessed by name – that is it stops them browsing the internet.
When you switch to DHCP, the DNS server setting is set to point at an external DNS server. This will allow internet names to be resolved and internet browsing will now work. However, you will no longer be able to resolve local names (in particular in the authentication process) and that will effectively stop you accessing local shares.
Personally I’d not only remove the Dot folder in DNS but also reconfigure your DHCP so that it gives out your local server as the primary DNS server to all the clients. Then use DHCP for IP addressing for all the client PCs.
-
WSRNicholsHoHum
AskWoody LoungerNo problem. I just thought it was worth suggesting an alternative.
Sometimes I’ve found myself strungling to tweak a solution to work when someone suggests a completely different way of attacking the problem and by changing track completely I’ve solve the problem much quicker.
-
WSRNicholsHoHum
AskWoody LoungerNo problem. I just thought it was worth suggesting an alternative.
Sometimes I’ve found myself strungling to tweak a solution to work when someone suggests a completely different way of attacking the problem and by changing track completely I’ve solve the problem much quicker.
-
WSRNicholsHoHum
AskWoody LoungerI think an alternative way to do this would be to use a bit of javascript. In the page you are pushing the include into you could have the Javascript code declare the variable, assign it the value, and pointing it to the textarea. The processing (insertion of the text into the textarea) would then be done client side. In the parent document something like this:
var MyText=””
document.myform.myID.value=MyTextAnd then in the include document you will need to assign an ID to the textarea field:
With this set up the page would be assembled server side, then passed to the browser where the javascript would run and put the text into the textarea.
-
WSRNicholsHoHum
AskWoody LoungerI think an alternative way to do this would be to use a bit of javascript. In the page you are pushing the include into you could have the Javascript code declare the variable, assign it the value, and pointing it to the textarea. The processing (insertion of the text into the textarea) would then be done client side. In the parent document something like this:
var MyText=””
document.myform.myID.value=MyTextAnd then in the include document you will need to assign an ID to the textarea field:
With this set up the page would be assembled server side, then passed to the browser where the javascript would run and put the text into the textarea.
-
WSRNicholsHoHum
AskWoody LoungerOn a private network there is nothing to stop you using 255.0.0.0 as a mask with 192.168.x.x. It will work. The simplest solution would be to change the mask on the statically addressed devices to 255.0.0.0. The only problem you may get is an inability to access sites with an IP address in the ranges 192.0.0.0 to 192.167.255.254 and 192.169.0.0 to 192.255.255.254, but that isn’t a commonly used address space. An alternative would be to use the private class A address space: 10.0.0.0.
-
WSRNicholsHoHum
AskWoody LoungerOn a private network there is nothing to stop you using 255.0.0.0 as a mask with 192.168.x.x. It will work. The simplest solution would be to change the mask on the statically addressed devices to 255.0.0.0. The only problem you may get is an inability to access sites with an IP address in the ranges 192.0.0.0 to 192.167.255.254 and 192.169.0.0 to 192.255.255.254, but that isn’t a commonly used address space. An alternative would be to use the private class A address space: 10.0.0.0.
-
WSRNicholsHoHum
AskWoody LoungerI too have had fun and games with date formats in VBA due to the system often assuming that dates will be in US format mm/dd/yy. I spent an enjoyable hour or so tracing a date through a script to find that the problem came when the date was inserted back into the Excel cell. This is the line where the problem came:
wsReport.Cells(myCurrentRow, 2) = Jobdetail
Debug the script and within VBA, if jobdetail is a date then the format was dd/mm/yy. The worksheet (wsReport) was using dd/mm/yy too. But when I looked at the results the date format was dd/mm/yy but the data had the day and month swap round. So 10/8/03 (dd/mm/yy) would become 8/10/03 (dd/mm/yy) in the sheet. To get it to work I had to force the date into a format that Excel/VBA coundn’t confuse:
If IsDate(Jobdetail) = True Then
wsReport.Cells(myCurrentRow, 2) = Format(Jobdetail, “dd mmm yyyy”)
Else
wsReport.Cells(myCurrentRow, 2) = Jobdetail
End If -
WSRNicholsHoHum
AskWoody LoungerI too have had fun and games with date formats in VBA due to the system often assuming that dates will be in US format mm/dd/yy. I spent an enjoyable hour or so tracing a date through a script to find that the problem came when the date was inserted back into the Excel cell. This is the line where the problem came:
wsReport.Cells(myCurrentRow, 2) = Jobdetail
Debug the script and within VBA, if jobdetail is a date then the format was dd/mm/yy. The worksheet (wsReport) was using dd/mm/yy too. But when I looked at the results the date format was dd/mm/yy but the data had the day and month swap round. So 10/8/03 (dd/mm/yy) would become 8/10/03 (dd/mm/yy) in the sheet. To get it to work I had to force the date into a format that Excel/VBA coundn’t confuse:
If IsDate(Jobdetail) = True Then
wsReport.Cells(myCurrentRow, 2) = Format(Jobdetail, “dd mmm yyyy”)
Else
wsReport.Cells(myCurrentRow, 2) = Jobdetail
End If
![]() |
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
-
0Patch, where to begin
by
cassel23
1 hour, 39 minutes ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
4 hours, 39 minutes ago -
89 million Steam account details just got leaked,
by
Alex5723
13 hours, 3 minutes ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
13 hours, 12 minutes ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
4 hours, 10 minutes ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
6 hours, 34 minutes ago -
Installer program can’t read my registry
by
Peobody
6 hours, 9 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
1 hour, 57 minutes ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
9 hours, 18 minutes ago -
False error message from eMClient
by
WSSebastian42
1 day ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
1 day, 9 hours ago -
Office 2021 Perpetual for Mac
by
rebop2020
1 day, 10 hours ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
7 hours, 13 minutes ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
1 day, 14 hours ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
15 hours, 10 minutes ago -
Outdated Laptop
by
jdamkeene
1 day, 19 hours ago -
Updating Keepass2Android
by
CBFPD-Chief115
2 days ago -
Another big Microsoft layoff
by
Charlie
2 days ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
1 hour, 24 minutes ago -
May 2025 updates are out
by
Susan Bradley
1 hour, 11 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
2 days, 6 hours ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
2 days, 6 hours ago -
Drivers suggested via Windows Update
by
Tex265
2 days, 6 hours ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
2 hours, 38 minutes ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
2 days, 13 hours ago -
Apple releases 18.5
by
Susan Bradley
2 days, 8 hours ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
2 days, 15 hours ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
2 days, 15 hours ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
1 day ago -
No HP software folders
by
fpefpe
2 days, 23 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.