-
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, 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
-
Notice on termination of services of LG Mobile Phone Software Updates
by
Alex5723
3 hours, 50 minutes ago -
Update your Apple Devices Wormable Zero-Click Remote Code Execution in AirPlay..
by
Alex5723
6 hours, 4 minutes ago -
Amazon denies it had plans to be clear about consumer tariff costs
by
Alex5723
6 hours, 16 minutes ago -
Return of the brain dead FF sidebar
by
EricB
2 hours, 50 minutes ago -
windows settings managed by your organization
by
WSDavidO61
58 minutes ago -
Securing Laptop for Trustee Administrattor
by
PeachesP
1 hour, 10 minutes ago -
The local account tax
by
Susan Bradley
56 minutes ago -
Recall is back with KB5055627(OS Build 26100.3915) Preview
by
Alex5723
12 hours, 52 minutes ago -
Digital TV Antenna Recommendation
by
Win7and10
5 hours, 24 minutes ago -
Server 2019 Domain Controllers broken by updates
by
MP Support
1 day ago -
Google won’t remove 3rd party cookies in Chrome as promised
by
Alex5723
1 day, 2 hours ago -
Microsoft Manager Says macOS Is Better Than Windows 11
by
Alex5723
1 day, 5 hours ago -
Outlook (NEW) Getting really Pushy
by
RetiredGeek
8 hours, 2 minutes ago -
Steps to take before updating to 24H2
by
Susan Bradley
2 hours, 36 minutes ago -
Which Web browser is the most secure for 2025?
by
B. Livingston
12 hours, 28 minutes ago -
Replacing Skype
by
Peter Deegan
1 hour, 1 minute ago -
FileOptimizer — Over 90 tools working together to squish your files
by
Deanna McElveen
23 hours, 28 minutes ago -
Excel Macro — ask for filename to be saved
by
nhsj
1 day, 7 hours ago -
Trying to backup Win 10 computer to iCloud
by
SheltieMom
47 minutes ago -
Windows 11 Insider Preview build 26200.5570 released to DEV
by
joep517
3 days, 5 hours ago -
Windows 11 Insider Preview build 26120.3941 (24H2) released to BETA
by
joep517
3 days, 7 hours ago -
Windows 11 Insider Preview Build 22635.5305 (23H2) released to BETA
by
joep517
3 days, 7 hours ago -
No April cumulative update for Win 11 23H2?
by
Peobody
1 day, 19 hours ago -
AugLoop.All (TEST Augmentation Loop MSIT)
by
LarryK
3 days, 7 hours ago -
Boot Sequence for Dell Optiplex 7070 Tower
by
Serge Carniol
3 days, 22 hours ago -
OTT Upgrade Windows 11 to 24H2 on Unsupported Hardware
by
bbearren
4 days, 2 hours ago -
Inetpub can be tricked
by
Susan Bradley
2 days, 9 hours ago -
How merge Outlook 2016 .pst file w/into newly created Outlook 2024 install .pst?
by
Tex265
2 days, 20 hours ago -
FBI 2024 Internet Crime Report
by
Alex5723
4 days, 6 hours ago -
Perplexity CEO says its browser will track everything users do online
by
Alex5723
1 day, 15 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.