Solved

Microsoft Access VBA ---  collapse code

Posted on 2012-03-15
3
1,500 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

636 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