
VBA Devloppment
- or -
Post a project like this77
£150(approx. $199)
- Posted:
- Proposals: 15
- Remote
- #4319587
- OPPORTUNITY
- Awarded
TOP PRO - Excel, Word, PowerPoint, VBA, Google Sheet, Outlook, Access, Database, Scripting

Web and App Development | Database Expert | Database Analysis| Python Developer

PPH TOP Web Developer | Digital Marketing (SEO, Social Media Management, Facebook/Instagram Ads, Google Ads)|WordPress, Shopify, Wix, e-commerce, | Video Editing

1264463119529451021796988889954773436504159119824273684847566804144943351582650666




Description
Experience Level: Entry
I am reaching out for your expertise to develop a VBA macro that will automate the management of an interactive form in Microsoft Word. Below are the details of my request and the expected outcomes.
Context:
I am working with a Word (.dotx) template used to generate personalized offers. This template includes specific tags for managing optional sections and merge fields for inserting dynamic data.
The tags in the document are as follows:
[COMMUN]: Sections common to all offers.
[OPTION ...]: Tags indicating optional sections (complete list below).
The merge fields to be handled are:
[DATE VALIDITE]: A date in the format DD/MM/YYYY.
[NOM_CLIENT]: The client's name.
[PROJET]: The project type.
Request:
I would like a VBA macro that automates the following tasks:
Dynamic UserForm creation:
The form should include:
Checkboxes for each optional section (tags [OPTION ...]).
TextBoxes for the merge fields [DATE VALIDITE], [NOM_CLIENT], and [PROJET].
A button to validate the user's choices and apply the changes to the document.
Management of optional sections:
Based on the checkboxes selected in the form, the corresponding sections should be included or removed from the document.
Merge field replacement:
The form's text fields should allow the user to input values that will replace [DATE VALIDITE], [NOM_CLIENT], and [PROJET] in the document.
Expected Outcome:
An interactive UserForm:
Displays checkboxes for each [OPTION ...] tag present in the document.
Contains text fields to populate the merge fields.
A personalized document:
Sections corresponding to [OPTION ...] tags are included/excluded based on the form selections.
Merge fields [DATE VALIDITE], [NOM_CLIENT], and [PROJET] are replaced with the entered values.
Clear and maintainable VBA code:
The code should be structured to allow easy addition or modification of options or fields in the future.
Complete List of [OPTION ...] Tags:
[OPTION JDF]
[OPTION VOLIGEAGE]
[OPTION BARDAGE AJOURE]
[OPTION BARDAGE RL]
[OPTION BARDAGE CLIN Partie fermée ou brise vue]
[OPTION BARDAGE AJOURE Partie fermée ou brise vue]
[OPTION OSSATURE Partie fermée]
[OPTION TOITURE DEMI CROUPE]
[OPTION TOITURE ŒIL DE B]
[OPTION TOITURE TOITURE BETON]
[OPTION TOITURE TOITURE TC]
[OPTION TOITURE TOITURE ARDOISE ART]
[OPTION TOITURE TOITURE ARDOISE N]
[OPTION TOITURE TOITURE PANNEAU TUILE]
[OPTION MONTAGE]
[OPTION MACONNERIE]
Technical Notes:
The form should be generated dynamically to adapt to additional options or fields in the future.
A scroll bar should be added if all the checkboxes cannot fit within the visible window.
The form should open via a simple macro (e.g., AfficherUserForm).
Expected Deliverables:
A .docm file containing the VBA macro and a functional example based on a Word document template.
A brief explanation of how the code works.
Thank you for your valuable help. Please don’t hesitate to ask if you need clarification or additional details.
Best regards,
Context:
I am working with a Word (.dotx) template used to generate personalized offers. This template includes specific tags for managing optional sections and merge fields for inserting dynamic data.
The tags in the document are as follows:
[COMMUN]: Sections common to all offers.
[OPTION ...]: Tags indicating optional sections (complete list below).
The merge fields to be handled are:
[DATE VALIDITE]: A date in the format DD/MM/YYYY.
[NOM_CLIENT]: The client's name.
[PROJET]: The project type.
Request:
I would like a VBA macro that automates the following tasks:
Dynamic UserForm creation:
The form should include:
Checkboxes for each optional section (tags [OPTION ...]).
TextBoxes for the merge fields [DATE VALIDITE], [NOM_CLIENT], and [PROJET].
A button to validate the user's choices and apply the changes to the document.
Management of optional sections:
Based on the checkboxes selected in the form, the corresponding sections should be included or removed from the document.
Merge field replacement:
The form's text fields should allow the user to input values that will replace [DATE VALIDITE], [NOM_CLIENT], and [PROJET] in the document.
Expected Outcome:
An interactive UserForm:
Displays checkboxes for each [OPTION ...] tag present in the document.
Contains text fields to populate the merge fields.
A personalized document:
Sections corresponding to [OPTION ...] tags are included/excluded based on the form selections.
Merge fields [DATE VALIDITE], [NOM_CLIENT], and [PROJET] are replaced with the entered values.
Clear and maintainable VBA code:
The code should be structured to allow easy addition or modification of options or fields in the future.
Complete List of [OPTION ...] Tags:
[OPTION JDF]
[OPTION VOLIGEAGE]
[OPTION BARDAGE AJOURE]
[OPTION BARDAGE RL]
[OPTION BARDAGE CLIN Partie fermée ou brise vue]
[OPTION BARDAGE AJOURE Partie fermée ou brise vue]
[OPTION OSSATURE Partie fermée]
[OPTION TOITURE DEMI CROUPE]
[OPTION TOITURE ŒIL DE B]
[OPTION TOITURE TOITURE BETON]
[OPTION TOITURE TOITURE TC]
[OPTION TOITURE TOITURE ARDOISE ART]
[OPTION TOITURE TOITURE ARDOISE N]
[OPTION TOITURE TOITURE PANNEAU TUILE]
[OPTION MONTAGE]
[OPTION MACONNERIE]
Technical Notes:
The form should be generated dynamically to adapt to additional options or fields in the future.
A scroll bar should be added if all the checkboxes cannot fit within the visible window.
The form should open via a simple macro (e.g., AfficherUserForm).
Expected Deliverables:
A .docm file containing the VBA macro and a functional example based on a Word document template.
A brief explanation of how the code works.
Thank you for your valuable help. Please don’t hesitate to ask if you need clarification or additional details.
Best regards,
Projects Completed
5
Freelancers worked with
5
Projects awarded
44%
Last project
3 Feb 2025
Belgium
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Can you share the existing doc please. Then I can make a proper assessment and plan before quoting. Thanks
-
Hi Chimsco,
Are the optional sections' tags already structured as bookmarks, or will the macro need to search for them dynamically within the document?
11192371119236
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies