IDiseaseSheet

Configuration

Initialise #

Configure builder dependencies.

Signature:

Public Sub Initialise(ByVal hostWorkbook As Workbook, _
                      ByVal dropdowns As DropdownLists, _
                      ByVal translations As TranslationObject, _
                      ByVal varObj As MasterSetupVariables)

Parameters:

  • hostWorkbook: Workbook where disease sheets are created.
  • dropdowns: DropdownLists providing data validation helpers.
  • translations: TranslationObject supplying translated labels.

Worksheet Construction

Build #

Create a disease worksheet populated with metadata, headers, and validations.

Signature:

Public Function Build(ByVal diseaseName As String, _
                      Optional ByVal languageTag As String = vbNullString) As Worksheet

Parameters:

  • diseaseName: String worksheet name to create.
  • diseaseIndex: Long sequential index used for names and counters.
  • languageTag: Optional String initial language value; defaults to translated prompt.
  • options: Optional Dictionary-like BetterArray containing overrides (languageList, statusList, etc.).

Returns: Worksheet freshly created and formatted.


Maintenance

Reset #

Reset cached state so the builder can be reused safely.

Signature:

Public Sub Reset()

Used in (2 file(s))