Formerly Best Training
© 2024 STL. All Rights Reserved.
All prices offered for business users and exclude VAT. E&OE
2nd Floor, CA House, 1 Northey Street, Limehouse Basin, London, E14 8BT. United Kingdom
Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » VBA Excel Report
Resolved · Low Priority · Version 2003
Sofie has attended:
Excel VBA Intro Intermediate course
Hi,
How do I get VBA to produce a full list of names and cities so that if a user selects ALL, it will provide them with the full list rather than a subset when a specific city is selected?
Thanks,
S
Hi Sofie, thanks for your query. Can you tell me a little bit more about your source data and what you're trying to do with it? It sounds like your code is filtering data whereas you want to turn off that functionality. Any more information?
Anthony
I have 5 different categories and i can get it to run the report to select 10 specified columns and produce a report. However I cannot seem to find a way to get it to show all categories if I for example selected "All"?
Is there a way around this?
Thanks
Hi Sofie, thanks for your query. What code are you using to select the different categories? You should be able to use, say Range("A1"). CurrentRegion to select all the data and then loop through it for a complete report. It sounds like your source data structure and code are both contributing to the problem. Try creating a dummy spreadsheet with a more basic data structure and see if you can generate a full report from that. Let me know how you get on.
All the best,
Anthony
Tue 5 Jan 2010: Automatically marked as resolved.
|
Excel tip:Entering text in Multiple WorksheetsIf you have a number of worksheets in a workbook that require the same information (data or tables) on each worksheet, this can be done as follows: |
We'll call during UK business hours
Server loaded in 0.06 secs.