-
WSbhdavis
AskWoody LoungerBefore you push the order button…
WD is a good choice but they make more than one type of NAS (as do others). I strongly suggest that you get a mirrored drive. This will help safeguard your data should something happen to one of the two drives. It is a more expensive solution, but is well worth the extra bucks.
Thanks………and I almost did do just that. However in the end I decided to stay with the single bay and my present back up system of a separate SSD cloned drive sitting on the shelf. While this NAS data drive won’t get cloned it is only holding data files a simple full disk back up via the USB port will be more than adequate. While the NAS HDD is 2tb we actually have less than 100gb of data files.
I prefer this method because this way the back up drive is not permanently connected to the system. Any strange electrical or hacking event cannot touch it if it is sitting on a shelf in the closet.
Thanks again everyone. The WD NAS should be here on Thursday. I’m looking forward to connecting it into the network.
BH
-
WSbhdavis
AskWoody LoungerThanks guys.
I had actually found that WD NAS on Amazon and was settling in on ordering it. Thanks for confirming it as a good choice.
BH -
WSbhdavis
AskWoody LoungerResolved. I just eliminated the SendKeys command and added Application.DisplayAlerts = False.
Thanks,
BHApplication.DisplayAlerts = False
‘ SendKeys “{Y}”
ActiveWorkbook.SaveAs Filename:=”D:MS OFFICE DOCUMENTSINVOICESPACK_SLIP.xls”, _
FileFormat:=xlNormal, Password:=””, WriteResPassword:=””, _
ReadOnlyRecommended:=False, CreateBackup:=False -
WSbhdavis
AskWoody LoungerMaud,
That was close. A little editing and now this finally does the trick and brings it back to the original local folder to open the next file. Thanks for all your help.
BH‘ THE FOLLOWING STATEMENT SAVES THE NEW QUOTE FILE TO A NETWORK LOCATION
Range(“A1”).Select
Set Workbook = ActiveSheet
fname = Application.GetSaveAsFilename(“\OfficedMS Office DocumentsQuotes” & fname & (“.xls”))
Workbook.SaveAs Filename:=fname‘ This changes to the AAQuote Local Directory
ChDir “D:MS Office DocumentsQuotes” -
WSbhdavis
AskWoody LoungerBH,
Please use one of the following codes to save your workbook to a network folder. Not sure if your intention is to prompt for a name.
Code:Sub Save_File() [COLOR=#008000]’SAVE FILE TO NETWORK FOLDER AS .XLS ‘———————————— ‘SAVE WITH SAME NAME AS CURRENT WORKBOOK NAME[/COLOR] fname = ThisWorkbook.Name ActiveWorkbook.SaveAs Filename:=”\OfficedMS Office DocumentsQuotes” & fname, FileFormat:=xlExcel8 [COLOR=#008000]’———————————— ‘SAVE WITH A PROMPTED NAME[/COLOR] fname = InputBox(“Enter file name with no extension”, “Save File as .xls”) ActiveWorkbook.SaveAs Filename:=”\OfficedMS Office DocumentsQuotes” & fname, FileFormat:=xlExcel8 [COLOR=#008000]’———————————— ‘SAVE WITH NAME USING A CELL VALUE[/COLOR] fname = Range(“B3”) [COLOR=#008000]’ex: cell B3= “Yearly Quotes” without quotes[/COLOR] ActiveWorkbook.SaveAs Filename:=”\OfficedMS Office DocumentsQuotes” & fname, FileFormat:=xlExcel8 [COLOR=#008000]’———————————— ‘SAVE WITH NAME USING VALUE FROM TEXTBOX ON A FORM[/COLOR] fname = Userform1.textbox1.Value ActiveWorkbook.SaveAs Filename:=”\OfficedMS Office DocumentsQuotes” & fname, FileFormat:=xlExcel8 End Sub
Maud,
Thanks. Will try in the morning.
I need to prompt for a name when the save is made so your 2nd suggestion should do the trick. Even better than before it would look like as now I think it is defaulting to the .xls file extension for us.
Thanks again,
BH -
WSbhdavis
AskWoody LoungerHi BH,
The changes made in blue should resolve your issue. It will save to your local computer by prompting for a name then save to your networked computer using the new path but same name.
Code:‘….. Range(“A1”).Select Set Workbook = ActiveSheet fname = Application.GetSaveAsFilename(“.xls”) Workbook.SaveAs Filename:=fname [COLOR=#0000FF]s = Split(fname, “”) fname = s(UBound(s))[/COLOR] ChDir “\OfficedMS Office DocumentsQuotes” ActiveWorkbook.SaveAs Filename:= _ “\OfficedMS Office DocumentsQuotes”[COLOR=#0000FF] & fname[/COLOR], FileFormat:= _ xlNormal, Password:=””, WriteResPassword:=””, ReadOnlyRecommended:=False _ , CreateBackup:=False ‘…. End Sub
HTH,
MaudNote: this was untested
Drats, didn’t work. As written above it prompts to save on the local HDD but then fails. It also fails without the first 4 lines of code. It’s saying something like S=split when I point at that line highlighted in yellow after the failure.
I don’t know if it matters but this is for Excel XP. I’ve maintained using it over the years because of the hassle it would be to deal with the macros on more recent versions.
Thanks,
BH -
WSbhdavis
AskWoody LoungerBH,
in your original code, you were opening a save as dialogue box and prompting for a new name to save it to your local computer. If you need tostill change the name, then why not just do a normal File > Save As > navigate to your network folder > Save?
That’s what I was trying to do in the macro unsuccessfully. When I was adding the network path it was changing how it was working. I know a little more now about how it should be worded though so will try again.
Thanks,
BH -
WSbhdavis
AskWoody LoungerHi BH,
The changes made in blue should resolve your issue. It will save to your local computer by prompting for a name then save to your networked computer using the new path but same name.
Code:‘….. Range(“A1”).Select Set Workbook = ActiveSheet fname = Application.GetSaveAsFilename(“.xls”) Workbook.SaveAs Filename:=fname [COLOR=#0000FF]s = Split(fname, “”) fname = s(UBound(s))[/COLOR] ChDir “\OfficedMS Office DocumentsQuotes” ActiveWorkbook.SaveAs Filename:= _ “\OfficedMS Office DocumentsQuotes”[COLOR=#0000FF] & fname[/COLOR], FileFormat:= _ xlNormal, Password:=””, WriteResPassword:=””, ReadOnlyRecommended:=False _ , CreateBackup:=False ‘…. End Sub
HTH,
MaudNote: this was untested
Thanks Maud,
What if I don’t need to save it on the local computer? Just delete the local computer top 4 lines of code? Or do I need those to predefine fName? I’d just try it but I’m at home now instead of at the office.
LIKE THIS BELOW?
Code:‘….. [COLOR=#0000FF]s = Split(fname, “”) fname = s(UBound(s))[/COLOR] ChDir “\OfficedMS Office DocumentsQuotes” ActiveWorkbook.SaveAs Filename:= _ “\OfficedMS Office DocumentsQuotes”[COLOR=#0000FF] & fname[/COLOR], FileFormat:= _ xlNormal, Password:=””, WriteResPassword:=””, ReadOnlyRecommended:=False _ , CreateBackup:=False ‘…. End Sub
Thanks,
BH -
WSbhdavis
AskWoody Loungerbh,
In Post 12, try removing the space between ISTEXT and (J12)
TH,
MaudTHANKS !!
That would appear to have solved the problem.
BH -
WSbhdavis
AskWoody LoungerHi BH
copy this and try it in cell [O27]
Code:=IF(NOT(ISNUMBER(J12)),"",IF(ISNUMBER(SEARCH("NON",C14)),0,IF(OR(ISNUMBER(SEARCH("jamb",J16)), ISNUMBER(SEARCH("strip",J16)), C14="STRAIGHTS",C16="MDF",C16="PVC"),0,IF(C14="SERPENTINE",0,IF(C12="",0,IF(C14="ELLIPTICAL",J12+3,IF(C14="OVAL",J12+3,ROUND(AD20*16,0)/16)))))))
..let us know if this works?
zeddy
Thanks, I’ll give it a try in the morning.
BH -
WSbhdavis
AskWoody LoungerHi BH
re:Identifying text vs. a number in a cell question
..perhaps you just need the =ISTEXT( function ???zeddy
That would be awesome if I could get it to work. I tried this at the beginning of a cell formula to no avail. Obviously I’m doing something wrong as it didn’t return a blank cell. That is the same format I use on an ISNUMBER(SEARCH) function with a search phrase added so it was of course my first thought.
=IF(ISTEXT (J12),””,IF(ISNUMBER(SEARCH(“NON”,C14)),0,IF(OR(ISNUMBER(SEARCH(“jamb”,J16)), ISNUMBER(SEARCH(“strip”,J16)), C14=”STRAIGHTS”,C16=”MDF”,C16=”PVC”),0,IF(C14=”SERPENTINE”,0,IF(C12=””,0,IF(C14=”ELLIPTICAL”,J12+3,IF(C14=”OVAL”,J12+3,ROUND(AD20*16,0)/16)))))))
BH
-
WSbhdavis
AskWoody LoungerRG’s is simple. “IFERROR” was a nice function added to recent releases.
Also, suppose you replaced the two instances of “J12+3” with if(isnumber(J12),J12+3,0)
Thanks everyone. I’ll give both suggestions a try.
BH -
WSbhdavis
AskWoody LoungerBH,
You mean something like this:
Formula: [noparse]=IF(AND(ISNUMBER(C1),ISNUMBER(D1),ISNUMBER(E1)),C1+D1+E1,0)[/noparse]
HTH :cheers:
Well, that got me thinking a little more. Maybe an example would help.
Here is the formula from from cell O27:
=IF(ISNUMBER(SEARCH(“NON”,C14)),0,IF(OR(ISNUMBER(SEARCH(“jamb”,J16)), ISNUMBER(SEARCH(“strip”,J16)), C14=”STRAIGHTS”,C16=”MDF”,C16=”PVC”),0,IF(C14=”SERPENTINE”,0,IF(C12=””,0,IF(C14=”ELLIPTICAL”,J12+3,IF(C14=”OVAL”,J12+3,ROUND(AD20*16,0)/16))))))
You’ll see J12+3 referenced near the end of this formula. That is referencing the width of a part. Normally I will enter 3, 3 1/2, 4 etc as the width of the part but every now and then I want to enter something like “any width” in J12 for information on the printout. In that case I’d want cell O27 to remain blank or 0, but instead it returns an errror since J12 does not contain a number. And since other cells act in relation to what is in O27 I end up with errors in numerous places around the worksheet.
Helpful?
BH -
WSbhdavis
AskWoody LoungerI’m not clear to me what you mean by “any text.”
This is what I understand from your post: =IF(isnumber(cell), SOME_FORMULA,””) where if the cell does not contain a number, the result will be a blank. Change the “” to whatever you want to be there if the cell does not contain a number.
Maybe post a sample file?!
Thanks for bearing with me on this.
Unfortunately a sample file isn’t going to help here.
I have complex sheets with a lot of cross references between cells. Various cells react different ways depending upon what is in other cells.
All these cells depend upon number references. If one cell has 25 entered for example, and the one next to it has 35 entered, then several other cells will return specific number results based upon those entries. If the numbers go up or down in those first two cells then the formulas in the other cells with make different calculations and give different results.
The occasional problem is that every now and then I’ll need to enter text in one of those first 2 cells so the person using the print out of all this will get some textual information. This is when an error is returned in some of those other cells…………..because the formulas in those cells are reacting to numbers…..not text.
The text that could be typed in occasionally could be any word or words so I can’t just specify a single word or group of words that will result in the cell with the text being ignored.
I hope I’ve explained this a little more clearly now.
Thanks,
BH -
WSbhdavis
AskWoody LoungerIs the issue within a macro or on the sheet itself? ISNUMBER(cell) will return true or false depending on the cells format.
The issue is within the sheet……..not the macro.
I use ISNUMBER quite a lot but for specific text. Is there a way to use it for “any text”?
Thanks,
BH
![]() |
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
-
Privacy and the Real ID
by
Susan Bradley
1 hour, 11 minutes ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 hour, 26 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
3 hours, 16 minutes ago -
Upgrading from Win 10
by
WSjcgc50
2 hours, 40 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
14 hours, 37 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
15 hours, 53 minutes ago -
The story of Windows Longhorn
by
Cybertooth
3 hours, 38 minutes ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
17 hours, 52 minutes ago -
Are manuals extinct?
by
Susan Bradley
7 hours, 21 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
1 day, 3 hours ago -
Network Issue
by
Casey H
14 hours, 5 minutes ago -
Fedora Linux is now an official WSL distro
by
Alex5723
1 day, 14 hours ago -
May 2025 Office non-Security updates
by
PKCano
1 day, 15 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
1 day, 17 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
18 hours, 14 minutes ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
1 day, 19 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
1 day, 19 hours ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
2 days, 2 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
19 hours, 19 minutes ago -
Asking Again here (New User and Fast change only backups)
by
thymej
2 days, 14 hours ago -
How much I spent on the Mac mini
by
Will Fastie
1 day, 13 hours ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
17 hours, 20 minutes ago -
Spring cleanup — 2025
by
Deanna McElveen
2 days, 20 hours ago -
Setting up Windows 11
by
Susan Bradley
1 day, 15 hours ago -
VLC Introduces Cutting-Edge AI Subtitling and Translation Capabilities
by
Alex5723
2 days, 15 hours ago -
Powershell version?
by
CWBillow
2 days, 16 hours ago -
SendTom Toys
by
CWBillow
1 day, 3 hours ago -
Add shortcut to taskbar?
by
CWBillow
2 days, 20 hours ago -
Sycophancy in GPT-4o: What happened
by
Alex5723
3 days, 12 hours ago -
How can I install Skype on Windows 7?
by
Help
3 days, 11 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.