-
WSTearsInTheRain
AskWoody LoungerThanks…but just to clarify, I need this to paste-value the range as the cells within CURRENT contain formulas.
-
WSTearsInTheRain
AskWoody LoungerThe field size is definately only 4 characters & there aren’t any spaces. The data is downloaded (by me) from our antiquated mainframe & uploaded to an SQL Server (6.5) for storage.
OK, just did some more testing. If I put “####”, it returns data that isn’t “####” BUT it also omits blank fields, which I require.
Sorry if I seem to be leading you a merry dance.
-
WSTearsInTheRain
AskWoody LoungerYes, there are lots of other text (and blank) entries.
-
WSTearsInTheRain
AskWoody LoungerIn a query I wish to omit data where the text a the field is 4 hashes.
“####” returns no data at all. Why?
Am I missing something fundamental about the hash key here?
Forgot something – the data resides on SQL Server 6.5
-
WSTearsInTheRain
AskWoody LoungerJust for clarification, shouldn’t it be
CELL(“Col”,LFIELDS)??
-
WSTearsInTheRain
AskWoody LoungerThat’s the ticket.
Haven’t used INDEX before – hadn’t needed to.
Thanks to all of you.
-
WSTearsInTheRain
AskWoody Lounger…and now FILE_A
-
WSTearsInTheRain
AskWoody LoungerGuys,
I can see how it works, but unfortunately when I copy the Index formula in, I get the value 0. The only thing I added was the reference to the other file.
If someone could spot where I’ve gone astray, I will then be able to stop headbutting my desk!!
I’m attaching the 2 files. FILE_A is my result area, BRIEF_22 is the source data
BRIEF_22 first
-
WSTearsInTheRain
AskWoody LoungerOff the top of my head you have at least 2 ways.
1. Assume data starts in A1. Sort by column A. In B2 put the formula =IF(A2=A1,”DUP”,””). Copy this down as far as required & then paste value the results in place. You can then sort by column B and eliminate the duplicates.
2. Data – Filter – Advanced Filter. It should be easy enough to follow from there
-
WSTearsInTheRain
AskWoody LoungerCloser – but the ‘A38420000’ in File ‘B’ could be in any row. So I need something to find out where that is first.
-
WSTearsInTheRain
AskWoody LoungerLooks good, but unfortunately the required Uwyr (in File ‘B’) could be in any column – I should have put more sample data in for File ‘B’
-
WSTearsInTheRain
AskWoody LoungerI didn’t have a lot of libraries referenced, so I checked “Microsoft Access 9.0 object library” and it compiled OK, BUT…when I ran it, I received the error message “Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another”
-
WSTearsInTheRain
AskWoody LoungerSorry, my mistake. I’m after VBA code to replace the update queries, not to actually run them.
-
WSTearsInTheRain
AskWoody LoungerDo you want VBA code to run existing update queries? YES
And do you want the result of AMT * n% to be stored in the AMT field itself? YES
-
WSTearsInTheRain
AskWoody LoungerHans,
Just after posting it, I did just that. Edited it and clicked away. HOW SIMPLE!!
Thanks
John
![]() |
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
-
Where’s the cache today?
by
Up2you2
52 minutes ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
2 hours, 32 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
2 hours, 52 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
7 hours, 33 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
12 hours, 40 minutes ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
12 hours, 47 minutes ago -
regarding april update and may update
by
heybengbeng
14 hours, 16 minutes ago -
MS Passkey
by
pmruzicka
2 hours, 4 minutes ago -
Can’t make Opera my default browser
by
bmeacham
21 hours, 56 minutes ago -
*Some settings are managed by your organization
by
rlowe44
8 hours, 39 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
20 hours, 50 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
1 day, 16 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
2 days, 1 hour ago -
AI slop
by
Susan Bradley
15 hours, 38 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
2 days, 2 hours ago -
Two blank icons
by
CR2
14 hours, 33 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
2 days, 11 hours ago -
End of 10
by
Alex5723
2 days, 14 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
1 day, 12 hours ago -
test post
by
gtd12345
2 days, 20 hours ago -
Privacy and the Real ID
by
Susan Bradley
2 days, 10 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
12 hours, 53 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
3 days ago -
Upgrading from Win 10
by
WSjcgc50
1 day, 12 hours ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
1 day, 16 hours ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
3 days, 16 hours ago -
The story of Windows Longhorn
by
Cybertooth
3 days, 4 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
3 days, 18 hours ago -
Are manuals extinct?
by
Susan Bradley
18 hours, 45 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
4 days, 3 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.