-
WSOCM
AskWoody LoungerHi Don,
In both, if possible. If I have to choose one, I like your example w/o blanks.
TIA,
Regards
-
WSOCM
AskWoody LoungerDon,
Thank you, I’ll try this tomorrow in my actual file, but it works in the sample workbook as planned.
The only thing I noticed is blank records in the account code column for order numbers (51258, 51274, 51303, 51304).
I think this is because we need to delete blank ‘account code’ values in the receiving report.
This is on my original post where I listed the manual process steps for receiving report.
Once we fix this and hit the Click Here button, I think everything in accounting code column should be populated.
TIA
Regards,
-
WSOCM
AskWoody LoungerHi Don,
Attached is the sample, let me know if this is what you were looking for.
I tried your code and got ‘Object required’ errorTIA,
Regards
-
WSOCM
AskWoody LoungerThank you both.
Dan, I’ll try your code, but to answer your questions,1. However, you don’t say where you want these subtotals —> in a separate sheet would be great.
2. sheet 2 doesn’t have order numbers —>order number in the receiving report (2nd report) is on column L. I think you are aware of this…
3. Assumes sheets sorted as shown in example No, my original sheets are not sorted.Regards,
-
WSOCM
AskWoody LoungerThanks Zeddy,
If you save an excel file as “.xlsx”, then all vba is ‘removed’.
Can you post your file as a “.xlsm” file, so that the vba is retained?
–> As per your suggestion I saved the attached file as macro enable workbook.Now, if I ‘manually’ add your code to the .xlsx sample file you attached (and then rename as a .xlsm file), you macro will give the ‘not correct workbook’ message because your sheet names are different.
–> I modified the sheet names the same way as in the macro. But, you brought up a good point. The
sheet names will change every month (e.g. Order report 0115, Order report 0215 etc.) what is the best
way to make this work?How is your macro executed? Do you use a button? Are there other workbooks open etc??
–>Currently I run the macro manually, but eventually my goal is to create a button
I’m sure we could help you, but we need a little more info.Regards,
-
WSOCM
AskWoody LoungerMay 12, 2014 at 11:30 am in reply to: Want to rename columns, delete unwanted columns, and reconcile reports #1452753Steve, thanks and I have the needed columns in both my reports (order and receiving) that are in the same workbook. What would be the best way to load them into one report for reconciliation purposes?
Regards,
-
WSOCM
AskWoody LoungerMay 8, 2014 at 3:28 pm in reply to: Want to rename columns, delete unwanted columns, and reconcile reports #1452354Thanks Steve,
It worked nicely for my second report (Receiving Report): renamed needed columns, and deleted unwanted columns.
However, I would also like to delete unwanted columns from my first report (Order report). With the exception of the following:Order Number (A]
Order Date (E)
Order Type (F)
Blanket Order (H)
Supplier (L)
Total (W)
Account Code (X)Regards,
-
WSOCM
AskWoody LoungerThank you Steve,
I found the problem as this is related to space in one value & not the other. I used TRIM function in my VLOOKUP to remove the unnecessary spaces and works fine now.
Regards,
OCM -
WSOCM
AskWoody LoungerThanks for your reply Steve.
Overall, the Vlookup works fine. However, in my wb1 column D I have a value called “STC.TERM” & this value is also in wb2 > Column P (my search target). I applied sort on wb2 column P & verified this value exists (spell the same way, no space etc…)
For some reason, I got #N/A in wb1.Can this be accomplished using IF then else etc? I was trying to compare it w/ VLookup & see if I get the same result.
Regards,
OCM -
WSOCM
AskWoody LoungerThanks Steve for your reply & suggestions….
OCM
-
WSOCM
AskWoody LoungerI’ve successfully imported the XML data into Excel and Access (please see attached striped version) and start maneuvering around. My next task is the following:
1) average invoice total amount for application fees only, broken out by division, for the third quarter of this year.
2) Using the relational database, create a deduped mailing list for as many current and complete addresses as possible.
3) Create a reader-friendly report break out the following statistics per division, based on the relational database:
a. Total number of currently accredited sites
b. Total number of applications in process
c. Number of labs that have achieved accreditation in multiple divisions
d. Total number of sites granted accreditation in each app area
e. Average number of sites per applicationDo I need to create a query in access 2007, based on the query, design a report to accomplish the above?
Please help.
Thanks,
OCM -
WSOCM
AskWoody LoungerThanks for the reply and the link. I was able to open the xml document in Excel. The next task is:
1. analysis; finding average invoice total broken out by division, for the third quarter of this year , total number of currently accredited sites, average number of sites per application etc.
2.to create deduped mailing list for current and complete addresses etc.
3. Import the data in the spreadsheets into a SQL Server relational database. Submit the CREATE scripts for all of the objects in the database.How this is better accomplished, Excel, Access or as you mentioned, download the free 2008 express version and go from there.
Regards,
OCM
-
WSOCM
AskWoody LoungerThank you for your reply wendellB,
Actually, my SQL Server capability is limited and I do not have access to SQL Server at this moment. I’m using Office 2007, and I am comfortable with Excel and Access. I can e-mail you the XML document if that’s helpful.
Regards,
OCM -
WSOCM
AskWoody LoungerThank you very much Hans, it works beautifuly.
Regards,
OCM -
WSOCM
AskWoody LoungerThank to you and Hans and also for the clarifications. I’ll apply your suggestions and post back if i have any question.
Regards,
OCM
![]() |
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
-
Tools to support internet discussions
by
Kathy Stevens
1 hour, 21 minutes ago -
How get Group Policy to allow specific Driver to download?
by
Tex265
2 hours, 19 minutes ago -
AI is good sometimes
by
Susan Bradley
3 hours, 28 minutes ago -
Mozilla quietly tests Perplexity AI as a New Firefox Search Option
by
Alex5723
4 hours, 30 minutes ago -
LibreOffice 25.8. No Windows 7, 8/8.1, x86
by
Alex5723
2 hours, 38 minutes ago -
Perplexity Pro free for 12 mos for Samsung Galaxy phones
by
Patricia Grace
23 hours, 29 minutes ago -
June KB5060842 update broke DHCP server service
by
Alex5723
22 hours, 1 minute ago -
AMD Ryzen™ Chipset Driver Release Notes 7.06.02.123
by
Alex5723
1 day, 2 hours ago -
Excessive security alerts
by
WSSebastian42
3 hours ago -
* CrystalDiskMark may shorten SSD/USB Memory life
by
Alex5723
1 day, 11 hours ago -
Ben’s excellent adventure with Linux
by
Ben Myers
5 minutes ago -
Seconds are back in Windows 10!
by
Susan Bradley
22 hours, 40 minutes ago -
WebBrowserPassView — Take inventory of your stored passwords
by
Deanna McElveen
5 hours, 13 minutes ago -
OS news from WWDC 2025
by
Will Fastie
2 hours, 36 minutes ago -
Need help with graphics…
by
WSBatBytes
6 hours, 50 minutes ago -
AMD : Out of Bounds (OOB) read vulnerability in TPM 2.0 CVE-2025-2884
by
Alex5723
2 days, 2 hours ago -
Totally remove or disable BitLocker
by
CWBillow
1 day, 2 hours ago -
Windows 10 gets 6 years of ESU?
by
n0ads
1 day, 5 hours ago -
Apple, Google stores still offer China-based VPNs, report says
by
Nibbled To Death By Ducks
2 days, 13 hours ago -
Search Forums only bring up my posts?
by
Deo
8 hours, 12 minutes ago -
Windows Spotlight broken on Enterprise and Pro for Workstations?
by
steeviebops
3 days, 1 hour ago -
Denmark wants to dump Microsoft for Linux + LibreOffice
by
Alex5723
2 days, 18 hours ago -
How to get Microsoft Defender to honor Group Policy Setting
by
Ralph
3 days, 2 hours ago -
Apple : Paragon’s iOS Mercenary Spyware Finds Journalists Target
by
Alex5723
3 days, 12 hours ago -
Music : The Rose Room – It’s Been A Long, Long Time album
by
Alex5723
3 days, 13 hours ago -
Disengage Bitlocker
by
CWBillow
3 days, 3 hours ago -
Mac Mini M2 Service Program for No Power Issue
by
Alex5723
3 days, 15 hours ago -
New Win 11 Pro Geekom Setup questions
by
Deo
8 hours, 16 minutes ago -
Windows 11 Insider Preview build 26200.5651 released to DEV
by
joep517
3 days, 22 hours ago -
Windows 11 Insider Preview build 26120.4441 (24H2) released to BETA
by
joep517
3 days, 22 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.