Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Set VBAProject Name on Make Config File #71

Open
mattpalermo opened this issue Mar 6, 2017 · 2 comments
Open

Set VBAProject Name on Make Config File #71

mattpalermo opened this issue Mar 6, 2017 · 2 comments

Comments

@mattpalermo
Copy link
Collaborator

When Make Config File is run, the VBAProject Name property of the config file should be set to the current project name in the workbook.

@spences10
Copy link
Owner

So I'm looking at modImportExport.bas and Public Sub MakeConfigFile() correct?

And from there I'm not sure where prjActProj should go...

MakeConfigFile() is a really nice looking peice of code @mattpalermo 👍

@mattpalermo
Copy link
Collaborator Author

mattpalermo commented Mar 6, 2017

The Config object represents the configuration. This object (and the clsConfiguration class) has a VBAProjectName property that will get and set the configuration VBAProject Name for you. It's just a matter of putting Config.VBAProjectName = .... somewhere in the MakeConfigFile procedure.

Thankyou :) I am quite happy with how the separation of concerns between modImportExport and clsConfiguration turned out!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants