-
WSitconc
AskWoody LoungerI see the name under names paste also. However, it does not show up in the name box. If I press Ctrl ain excel and name the name the range through the name box, all is well.
I am attaching the error code I get in Access, the macro and the vba code.
Thanks,ITconc
-
WSitconc
AskWoody LoungerI am having a problem with the range name. It works the way you suggested. However, during the import, Access does not recognize the range name because it only shows up under insert/name/define not in the regular range name list.
I am not sure if this now goes under Access.
Thanks,itconc
-
WSitconc
AskWoody LoungerLooks great. It works in Excel. I will need to thenimport to Access – that is properly automated and works.
Thank you so much for your help!
ITconc -
WSitconc
AskWoody Loungerhere it is:
Sub ex()
‘
‘ ex Macro
‘‘
ChDir “C:ArbeitCASData”
ActiveWorkbook.SaveAs Filename:=”C:ArbeitCASDataNewData.XLS”, FileFormat _
:=xlNormal, Password:=””, WriteResPassword:=””, ReadOnlyRecommended:= _
False, CreateBackup:=False
ActiveWorkbook.SaveAs Filename:=”C:ArbeitCASDataNewData.htm”, FileFormat _
:=xlHtml, ReadOnlyRecommended:=False, CreateBackup:=False
Columns(“D:D”).Select
Selection.Delete Shift:=xlToLeft
ActiveWindow.SmallScroll ToRight:=1
Columns(“F:Q”).Select
Selection.Delete Shift:=xlToLeft
Range(“A1″).Select
ActiveWorkbook.Save‘
ActiveWorkbook.Close
Workbooks.Open Filename:=”C:ArbeitCASDataNewData.XLS”
Columns(“F:F”).Select
Selection.Delete Shift:=xlToLeftRange(“A2”).Activate
ActiveWorkbook.Save
‘ActiveWorkbook.Close
End Sub
For the rangename I had this:
Sub Macro3()
‘
‘
‘
‘Range(“A1:Q19″).Select – I remarked this out.
‘
ActiveWorkbook.Names.Add Name:=”newdata”, RefersToR1C1:=selction.CurrentRegion.SelectSelection.CurrentRegion.Select
Application.Goto Reference:=”newdata”
End SubThanks,
itconc -
WSitconc
AskWoody LoungerThanks Paul. Good answer.
itconc -
WSitconc
AskWoody LoungerThanks, will try asap.
I appreciate your help.itconc
-
WSitconc
AskWoody LoungerI have added the numeric identifiers in Excel and done 2 imports. Now all is well – the links worked, the data is clean!! Hyperlinks are OK and the title and Abstract are readable.
Thank you so much – both of you for helping me with this.
itconc
-
WSitconc
AskWoody LoungerI cannot import the file as an excel spreadsheet without losing the hyperlink. My users are most adamant about the hyperlink. If absolutely necessary, I can live with bad title and abstract but not without the hyperlink.
I will try your suggestion with the numeric field and see what happens.Thanks,
IT
-
WSitconc
AskWoody LoungerI apologize. When I set up the test database, I grabbed the wrong table. I have deleted the nonmatching record. There is still no match, no ability to link. When I ran an unmatched query, none of the records matched. I then went in and copied the primary key value for 1 record from one table to the other. That 1 record showed a match.
Is it possible that the import does something to the fields? Wendell had said the the text import does not behave very well.
I am attching the revised test database.
Thanks,itconc
-
WSitconc
AskWoody Loungeryes they are. Both key fields are the same.
I am attaching the zipped file.
Thanks.
itconc -
WSitconc
AskWoody Loungerno error messages. I link in the relationship window and cannot set a one to one relationship with referential integrity on. When I link in a query I cannot get records from both tables.
I have tried to upload a file with only the two tables but am getting an error message that I am not permitted to upload this kind of file. I tried the mdb and tried chaing the file extension – no luck.Any help is appreciated.
itconc
-
WSitconc
AskWoody LoungerWendell, I have been trying to work around the problem of the html import by doing 2 different imports:
1 straight forward Excel, another a html/ text import for the hyperlink.
I was hoping to be able to link the 2 tables after the import and grab the hyperlink field.
Nothing I have done works – both tables have the same key field. However, they will not link. I have checked field types and sizes – all is correct. Nothing works.
Do you have any idea what I could do here?Thanks,
itconc
-
WSitconc
AskWoody LoungerSorry, at least I am not missing something else.
-
WSitconc
AskWoody Loungeryes it does. I am going to try 2 imports – one spreadsheet for the memo filed, one htm for the hyperlink. I can recombine the files in Access.
I hope this will work.
Thanks for your answer – at least I am missing something else.itconc
-
WSitconc
AskWoody LoungerWell, I must have been out in the sun too long in Houston.
I now have a new problem. The hyperlink comes through just fine. However, the abstract field (set to memo in Access) gets truncated and words run into each other. I can see the problem during the manual import as I scroll from one column to the other.Is there anything I can do to fix this?
Thanks,
itconc
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
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
-
Updates seem to have broken Microsoft Edge
by
rebop2020
54 minutes ago -
Wait command?
by
CWBillow
3 minutes ago -
Malwarebytes 5 Free version manual platform updates
by
Bob99
3 hours, 49 minutes ago -
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
10 hours, 25 minutes ago -
Windows 10 finally gets fix
by
Susan Bradley
19 hours, 18 minutes ago -
AMD Ryzen™ Chipset Driver Release Notes 7.04.09.545
by
Alex5723
20 hours, 38 minutes ago -
Win 7 MS Essentials suddenly not showing number of items scanned.
by
Oldtimer
15 hours, 11 minutes ago -
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
1 day, 9 hours ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
1 day, 10 hours ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
5 hours, 31 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
2 hours, 12 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
1 day, 21 hours ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
2 days, 1 hour ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
2 days, 1 hour ago -
Unable to eject external hard drives
by
Robertos42
12 hours, 15 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
2 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
5 hours, 49 minutes ago -
Synology limits hard drives
by
Susan Bradley
3 days, 5 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
2 days, 8 hours ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
3 days, 12 hours ago -
Upgrade Sequence
by
doneager
3 days, 5 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
1 day, 10 hours ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
2 days, 4 hours ago -
The incredible shrinking desktop icons
by
Thumper
4 days, 9 hours ago -
Windows 11 Insider Preview Build 22635.5240 (23H2) released to BETA
by
joep517
4 days, 10 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
1 day, 9 hours ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 3 hours ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
4 days, 19 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
5 hours, 38 minutes ago -
Speeding up 11’s search
by
Susan Bradley
2 days, 8 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.