-
WSprasad
AskWoody LoungerThe link that I posted works for me…
Strange, It is still not working for me, neither with Firefox 3.5.5 nor with IE 8. I have checked with some other links & all are working properly. Is something wrong with installation of browser at my end??
-
WSprasad
AskWoody LoungerHere is a alternative site to download the same.
-
WSprasad
AskWoody LoungerAn additional requirement :
Is it possible to modify the code to protect workbook structure too but allowing users to move/copy sheets?
Thanks in advance for any help/suggestion.
-
WSprasad
AskWoody LoungerLaurent Longre has written a free add-in Morefunc for Excel that provides a function INDIRECT.EXT that works like INDIRECT but allows the other workbook to be closed. All users would need to install this add-in.
The link associated to download Add-in has been broken & occurring following error :
Warning: main(./common/init.php) [function.main]: failed to open stream: No such file or directory in /mnt/108/sdc/2/4/xcell05/fclicksql/fclick.php on line 16
Fatal error: main() [function.require]: Failed opening required ‘./common/init.php’ (include_path=’/mnt/108/sdc/2/4/xcell05/include:.:/usr/php4/lib/php’) in /mnt/108/sdc/2/4/xcell05/fclicksql/fclick.php on line 16
-
WSprasad
AskWoody LoungerApplying formula provided by Hans, I am getting a #value! error down E11 if C8 is blank. To avoid this, you can use
=IF($C$8=””,””,($C$8+A12))
in E12 and fill it down.
You can use same method for Adjusted Timeline Date Column.
-
WSprasad
AskWoody LoungerHi Jezza
That sounds great. Thank you
I’ve attached the spreadsheet and basically when I populate vehicle 1 in January with a figure I want it to add the ‘service only’ figure to the figure I input….are you able to help me with that?
Thanks ever so much – they will think I’m clever!
Penny
What exactly you are trying to achieve? do u want to simply add the cost or want it to auto populate depends on vehicle/month??
-
WSprasad
AskWoody LoungerOne possible reason is “Read only” status of external drive, to/from where you have copied the data. Pl check the property of external drive. Is it marked as “Read Only”? If so, uncheck the read only option and save files again.
-
WSprasad
AskWoody LoungerI have a standard daily worksheet where I enter the various customers names and some information about the orders. I only have about 20 customers but they have long names. I would like to grab the customer-name from some list or look up in a list. Really much rather autocomplete.
How do I do any of this?
Thanks.
MichaelOne simple approach is to use data validation OR vlookup, if you are having a list of names. Pl have a look.
-
WSprasad
AskWoody LoungerYou should use
=ISBLANK(A1)
where A1 is the active cell within the selection (usually the upper left corner). Excel will automatically adjust the cell reference for the other cells within the selection. Do *not* use
=ISBLANK(A1:O26)
where A1:O26 is the selected range!
Another way with similar approach :
-
WSprasad
AskWoody Lounger8 out of 10. Least but not bad.
-
WSprasad
AskWoody LoungerSorry, my mistake. The line
If Not strPassword = “psd” Then
should be
If Not strPwd = “psd” Then
If you had had Option Explicit at the top of the module, the Visual Basic Editor would have pointed out the inconsistency.
Thanks Hans, it is perfect now.
-
WSprasad
AskWoody LoungerIf I supplied correct password on second attempt, it fails to unprotect the sheets.
-
WSprasad
AskWoody LoungerDo you need the user to supply the password to unprotect the sheets, or would it be OK to include the password in the code (like you do in the code that protects the sheets)?
Yes, users are required to supply the password only once to unprotect all protected sheets.
-
WSprasad
AskWoody LoungerAre all sheets protected?
No Hans, only sheets in array are protected using following code.
[codebox]ub Hide()
Dim strName As Variant
For Each strName In Array(“BG3”, “SSC”, “MUFFLER”, “FRAME”, “RIM”, “HRD”, “PNG”, “ANS”)
With Worksheets(strName)
.Columns(“A:AR”).Hidden = True
.Columns(“AU:AU”).Hidden = True
.Protect Password:=”psd”, AllowFormattingColumns:=True, AllowFormattingRows:=True
.Select
.Range(“AS1”).Select
End With
Next
Sheets(“Key Ratio “).Select
Range(“A3”).Select
End Sub[/codebox]Do all protected sheets have the same password?
Yes, all protected sheets have the same password.
-
WSprasad
AskWoody LoungerThanks Hans but as I stated, it is *NOT* necessarily required to hide particular columns & the code is perfect without any further modification. I was looking for the possibility of avoiding any mis-presentation but that can be taken care of without amending the code. (After all, the users are equally responsible for any (mis) presentation of data.)
Thanks again.
Pl have a look :
[codebox]Sub unhide()
For Each sht In ActiveWorkbook.Sheets
On Error Resume Next
sht.Unprotect
If Err Then
MsgBox “Password incorrect. Please try again.”, vbExclamation
sht.Unprotect
If Err Then
MsgBox “Sorry! better luck next time”, vbExclamation
End If
End If
On Error GoTo 0
Next sht
Dim strName As Variant
For Each strName In Array(“BG3”, “SSC”, “MUFFLER”, “FRAME”, “RIM”, “HRD”, “PNG”, “ANS”)
With Worksheets(strName)
.Columns(“A:AP”).Hidden = False
.Select
.Range(“A1”).Select
End With
Next
Sheets(“Key Ratio “).Select
Range(“A3”).Select
End Sub[/codebox]1) if I hit the OR press cancel button instead of supplying the password, the code unprotect the sheet & jump to next sheet.
2) It is more convenient for me to unprotect all sheets in array in single attempt, instead of supplying password for each sheet one by one.
3) If I supplied correct password on second attempt, the code unprotect the sheet but msg still flashes.
Sorry if it sounds irretating but I have not tested the code this way before.
![]() |
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
-
LibreOffice 25.8. No Windows 7, 8/8.1, x86
by
Alex5723
2 hours, 5 minutes ago -
Perplexity Pro free for 12 mos for Samsung Galaxy phones
by
Patricia Grace
18 hours, 1 minute ago -
June KB5060842 update broke DHCP server service
by
Alex5723
16 hours, 33 minutes ago -
AMD Ryzen™ Chipset Driver Release Notes 7.06.02.123
by
Alex5723
20 hours, 36 minutes ago -
Excessive security alerts
by
WSSebastian42
16 hours, 16 minutes ago -
* CrystalDiskMark may shorten SSD/USB Memory life
by
Alex5723
1 day, 6 hours ago -
Ben’s excellent adventure with Linux
by
Ben Myers
5 minutes ago -
Seconds are back in Windows 10!
by
Susan Bradley
17 hours, 12 minutes ago -
WebBrowserPassView — Take inventory of your stored passwords
by
Deanna McElveen
6 hours, 5 minutes ago -
OS news from WWDC 2025
by
Will Fastie
3 hours, 21 minutes ago -
Need help with graphics…
by
WSBatBytes
1 hour, 22 minutes ago -
AMD : Out of Bounds (OOB) read vulnerability in TPM 2.0 CVE-2025-2884
by
Alex5723
1 day, 21 hours ago -
Totally remove or disable BitLocker
by
CWBillow
20 hours, 39 minutes ago -
Windows 10 gets 6 years of ESU?
by
n0ads
23 hours, 55 minutes ago -
Apple, Google stores still offer China-based VPNs, report says
by
Nibbled To Death By Ducks
2 days, 8 hours ago -
Search Forums only bring up my posts?
by
Deo
2 hours, 44 minutes ago -
Windows Spotlight broken on Enterprise and Pro for Workstations?
by
steeviebops
2 days, 20 hours ago -
Denmark wants to dump Microsoft for Linux + LibreOffice
by
Alex5723
2 days, 12 hours ago -
How to get Microsoft Defender to honor Group Policy Setting
by
Ralph
2 days, 20 hours ago -
Apple : Paragon’s iOS Mercenary Spyware Finds Journalists Target
by
Alex5723
3 days, 6 hours ago -
Music : The Rose Room – It’s Been A Long, Long Time album
by
Alex5723
3 days, 7 hours ago -
Disengage Bitlocker
by
CWBillow
2 days, 21 hours ago -
Mac Mini M2 Service Program for No Power Issue
by
Alex5723
3 days, 9 hours ago -
New Win 11 Pro Geekom Setup questions
by
Deo
2 hours, 49 minutes ago -
Windows 11 Insider Preview build 26200.5651 released to DEV
by
joep517
3 days, 17 hours ago -
Windows 11 Insider Preview build 26120.4441 (24H2) released to BETA
by
joep517
3 days, 17 hours ago -
iOS 26,, MacOS 26 : Create your own AI chatbot
by
Alex5723
3 days, 21 hours ago -
New PC transfer program recommendations?
by
DaveBoston
2 days, 1 hour ago -
Windows 11 Insider Preview Build 22631.5545 (23H2) released to Release Preview
by
joep517
4 days, 1 hour ago -
Windows 10 Build 19045.6029 (22H2) to Release Preview Channel
by
joep517
4 days, 1 hour ago
Recent blog posts
- Ben’s excellent adventure with Linux
- Seconds are back in Windows 10!
- WebBrowserPassView — Take inventory of your stored passwords
- OS news from WWDC 2025
- Best tools for upgrading a Windows 10 to an 11
- Master patch listing for June 10, 2025
- 24H2 may not be offered June updates
- June 2025 updates are out
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.