Skip to main content



No record found.

Microsoft Dynamics SL forum
Suggested answer

Export/Import VBA code Customization

Posted on by 300

Is it possible to export screen customizations with VBA code from SL v6 and then import the customizations complete with VBA code into SL2011?  Client is upgrading and would like to have the GL Account name autopopulate on Voucher Entry screens.

  • Suggested answer
    Ram Peru Profile Picture
    Ram Peru 2,830 on at
    RE: Export/Import VBA code Customization

    Good day C Conner,

    You can't export the customization with VBA code(Export VBA as Source) from SL 6.5(V6). This Export VBA as source functionality is only available from SL 2011 version(V8).

    You can follow the below steps to upgrade the customization from SL 6.5 to SL 2011

    1. Export the all Voucher customization from SL 6.5

    2. Delete the CustomVBA records for only Voucher screen (0301000)

    3. Import the voucher screen customization from SL 6.5 live/production into SL 2011 server.

    4. Launch the voucher screen and make sure there are no errors during the launch operation

    5. Upgrade each level of customization by the sequence(lowest sequence to highest sequence). No need upgrade the self level customization(sequence 500)

    6. you can do the coding to auto populate the GL Account name based on your requirement in Voucher & Adjustment entry screen.

    Hope this explains.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans