Solved

Microsoft Access VBA ---  collapse code

Posted on 2012-03-15
3
1,418 Views
Last Modified: 2012-03-15
Hi.

I am using Microsoft Access VBA.

If I were to use Visual Basic.net,  then the following code (see below) would enable me to collapse / hide some coding that I am not presently working on.  Is there a way to do this in Microsoft Access VBA.

-------------------------- code --------------------------------

#Region "Region Name"
        ... code ...
 #End Region
0
Comment
Question by:peispud
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 120

Assisted Solution

by:Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1) earned 250 total points
ID: 37724334
sorry, but the answer is NO.
0
 
LVL 9

Accepted Solution

by:
armchair_scouse earned 250 total points
ID: 37724344
No, not as far as I know.

The closest thing to showing only certain bits of code is to change your module view to show one procedure at a time, but that would require you to make a separate procedure for each section of code you'd want to put in regions.  Not collapsable and hardly the same.
0
 

Author Closing Comment

by:peispud
ID: 37724646
Thank you.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question