Results 1 to 2 of 2
  1. #1
    schulzy175 is offline Advanced Beginner
    Windows 7 64bit Access 2016
    Join Date
    Oct 2017
    Posts
    98

    VBA to add/remove group headers?

    Is there any VBA function that lets you remove or add group headers? I am wanting to design my report to where they can add specific statistics of the users choosing. So I want it to where if they choose to add sales counts, then they can select sales count and it'll add a new group header with the data.

  2. #2
    schulzy175 is offline Advanced Beginner
    Windows 7 64bit Access 2016
    Join Date
    Oct 2017
    Posts
    98
    Code:
    me.groupheader.*insert name or number here*.visible = true/false

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Counting Group Headers
    By Paul H in forum Reports
    Replies: 2
    Last Post: 02-24-2017, 04:25 PM
  2. Replies: 6
    Last Post: 06-09-2015, 09:51 AM
  3. Replies: 2
    Last Post: 03-16-2012, 06:49 AM
  4. Group Headers Not Repeating in a Report
    By kristyspdx in forum Reports
    Replies: 4
    Last Post: 12-20-2011, 05:00 PM
  5. Hide Duplicates with Group Headers
    By diwin in forum Reports
    Replies: 0
    Last Post: 03-26-2009, 09:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums