Results 1 to 4 of 4
  1. #1
    ntambomvu is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Nov 2016
    Location
    Johannesburg south africa
    Posts
    91

    print the code

    Hello Chaps,


    I want to print out the code that is used in an application
    how is this done??
    many thanks

    fred

  2. #2
    Mister-B is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jan 2018
    Posts
    31
    Alt + F11.
    File
    Print

  3. #3
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    use the documenter, select the code modules then print

  4. #4
    roaftech is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Nov 2012
    Location
    Romania
    Posts
    65
    My method is:
    open the VB editor then double-click the class object of interest; (You can print from here but the inbuilt format is poor)
    the cursor moves to the start of the code - use ctrl-A and ctrl-C to copy the code;
    open Notepad++, choose New and then select language 'VB';
    ctrl-V will paste the code with the correct margins, colour coded elements and headers of your choice;
    I then print to a pdf file but you can print direct to a real printer if required.

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

Similar Threads

  1. Print to other than default printer with code
    By dmgg in forum Programming
    Replies: 13
    Last Post: 08-28-2015, 06:14 PM
  2. Replies: 5
    Last Post: 07-29-2014, 01:05 PM
  3. Code to print 'section' of a word document.
    By TurnipGrnPeace in forum Access
    Replies: 6
    Last Post: 06-25-2013, 07:17 PM
  4. VBA Code to Print MS Access Reports to PDFCreator
    By NeilIrving in forum Programming
    Replies: 3
    Last Post: 11-20-2012, 07:08 AM
  5. code to print just first page of a report
    By tonyrice in forum Reports
    Replies: 1
    Last Post: 02-14-2007, 03:07 PM

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