-
WSkwvh
AskWoody LoungerPatt and John,
THANKS! ! ! Yes, you are able to “Add” multiple tables into the same XML file. Very sweet. I seem to always look for and find the hard way of doing things. That is why this is such a great place!
Thanks to both of you.
Ken
-
WSkwvh
AskWoody LoungerJohn,
I have read the kewl File info, and have started playing with the code. However, I need to dim the intOutFile. What type of variable should it be?
thanks!
Ken
-
WSkwvh
AskWoody LoungerI use the ExportXML command in VBA to create the two files. Is there a way to find a specific line in a text file using the File Input/Output you mention? If so, I could create the large xml file of data using the ExportXML, and then just insert the necessary 6 lines below into that file. But that assumes I can move around within the text file.
Code:20110912 D_F110912 8630 v2.3
I will read the File I/O link and see what shakes.
Thanks!
Ken -
WSkwvh
AskWoody LoungerBender,
thanks. will try to get it to run in VB.NET, which I am brand new to.
Ken
-
WSkwvh
AskWoody LoungerBoyd,
THANKS ! ! What an excellent tool! I will give it a shot. It looks really well done.Ken
-
WSkwvh
AskWoody LoungerThanks for the information. I will research the third party libraries and see what works.
Thanks! -
WSkwvh
AskWoody LoungerRory,
Thanks for your help. ย I don’t know what I would do without help from the experts on the boards.
I will post when I figure it out the final disposition. ย
Ken
-
WSkwvh
AskWoody LoungerActually, this is an Access database that creates the spreadsheet, then via VBA creates the pivot table. ย So initially, there is only the tab with the data, and the pivot table gets created to an added sheet/tab.
-
WSkwvh
AskWoody LoungerRory,
Thanks for asking. ย The values for Final Row and FinalCol are 85 and 28 respectively.
Ken
-
WSkwvh
AskWoody LoungerWendell,
Thanks for the note. ย I am just trying to “clean up” some inconsistent naming conventions in a some Access tables prior to upsizing the tables to SQL Server. ย I will be creating queries, forms, reports and SQL views once moved to SQL Server.
Thanks for continuing to serve us neophytes by sharing your knowledge.
Kenย
-
WSkwvh
AskWoody LoungerAwesome Andrew! ย I am going to use the loop through the fields approach.ย
THANKS!
Ken
-
WSkwvh
AskWoody LoungerThanks! ย Using your suggestion I came up with:
Dim strPath As String
strPath = Application.CurrentDb.Name
If UCase(Right(strPath, 3)) = “MDB” Then
ย ย ย MsgBox “This is an MDB.”
ย ย ย Else
ย ย ย If UCase(Right(strPath, 3)) = “MDE” Thenย
ย ย ย ย ย MsgBox “This is an MDE.”
ย ย ย Else
ย ย ย ย ย MsgBox “Unknown Database Format”
ย ย ย End If
End IfAnd it accomplished my goal.
Thanks again!
Ken
-
WSkwvh
AskWoody LoungerWendell,
Thanks for the followup. ย Yes, there is VBA Code. ย I have 7 references in the VBA project, and all appear to be there. ย For the sake of expediency I added a module in VB to update the field using the ‘Left([Field4],3) & Mid([Field4],5,2) & Right([Field4],4)’ and looping through the recordset.ย
Very strange. ย FYI I am using Access 2003 SP3.
Thanks again.
Ken
-
WSkwvh
AskWoody LoungerWendell,
Thanks for the followup. ย Yes, there is VBA Code. ย I have 7 references in the VBA project, and all appear to be there. ย For the sake of expediency I added a module in VB to update the field using the ‘Left([Field4],3) & Mid([Field4],5,2) & Right([Field4],4)’ and looping through the recordset.ย
Very strange. ย FYI I am using Access 2003 SP3.
Thanks again.
Ken
-
WSkwvh
AskWoody LoungerWendell,
Thanks for the followup. ย Yes, there is VBA Code. ย I have 7 references in the VBA project, and all appear to be there. ย For the sake of expediency I added a module in VB to update the field using the ‘Left([Field4],3) & Mid([Field4],5,2) & Right([Field4],4)’ and looping through the recordset.ย
Very strange. ย FYI I am using Access 2003 SP3.
Thanks again.
Ken
![]() |
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
-
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
6 hours, 31 minutes ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
7 hours, 10 minutes ago -
MS-DEFCON 2: Seven months and counting
by
Susan Bradley
58 minutes ago -
My 3 monitors go black & then the Taskbar is moved to center monitor
by
saturn2233
17 hours, 26 minutes ago -
Apple backports fixes
by
Susan Bradley
3 hours, 19 minutes ago -
Win 11 24H2 will not install
by
Michael1950
17 hours, 40 minutes ago -
Advice to convert MBR to GPT and install Windows 11 Pro on unsupported PC
by
Andy M
17 hours, 11 minutes ago -
Photos from iPhone to Win 10 duplicating/reformatting to .mov
by
J9438
2 hours, 51 minutes ago -
Thunderbird in trouble. Here comes Thundermail
by
Alex5723
17 hours, 27 minutes ago -
Get back ” Open With” in context menus
by
CWBillow
1 day, 6 hours ago -
Many AMD Ryzen 9800X3D on ASRock have died
by
Alex5723
1 day, 10 hours ago -
simple general stupid question
by
WSaltamirano
1 day, 4 hours ago -
April 2025 Office non-Security updates
by
PKCano
1 day, 21 hours ago -
Microsoft wants to hear from you
by
Will Fastie
21 hours, 14 minutes ago -
Windows 11 Insider Preview Build 22635.5160 (23H2) released to BETA
by
joep517
2 days ago -
Europe Seeks Alternatives to U.S. Cloud Providers
by
Alex5723
2 days, 6 hours ago -
Test post
by
Susan Bradley
2 days, 8 hours ago -
Used Systems to delete Temp files Gone WRONG what does this mean?
by
Deo
2 days, 10 hours ago -
SSD shuts down on its own
by
CWBillow
2 days, 1 hour ago -
OneDrive File Sharing Changes
by
David Clark
2 days, 18 hours ago -
OneDrive File Sharing Changes
by
David Clark
2 days, 20 hours ago -
Win 10 Pro 22H2 to Win 11 Pro 23H2 Conversion Guide
by
doneager
1 day, 20 hours ago -
Today is world backup day
by
Alex5723
2 days, 11 hours ago -
Windows .exe on Mint
by
Slowpoke47
1 hour, 19 minutes ago -
Reviewing your licensing options
by
Susan Bradley
6 hours, 16 minutes ago -
Apple has been analyzing your photos since September 2024
by
B. Livingston
1 day, 17 hours ago -
What Windows 11 24H2 offers beyond bugs
by
Lance Whitney
1 day, 12 hours ago -
Making sense of Settings in Windows 11
by
Simon Bisson
1 day, 14 hours ago -
Windows 11 pro fails to log in after upgrading Win 10 pro to Win 11 pro 24h2
by
ben_sitaud
2 days, 18 hours ago -
23H2 / 24H2 / Local v. Microsoft Account.
by
CWBillow
3 hours, 37 minutes ago
Recent blog posts
- MS-DEFCON 2: Seven months and counting
- Apple backports fixes
- April 2025 Office non-Security updates
- Microsoft wants to hear from you
- Reviewing your licensing options
- Apple has been analyzing your photos since September 2024
- What Windows 11 24H2 offers beyond bugs
- Making sense of Settings in Windows 11
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.