GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ziqingyi/Excel-VBA-Dicts: Enhance the functionality of Dictionary Modul

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

73 Commits
73 Commits

Folders and files

NameName
Last commit message
Last commit date
Dicts.bas
Dicts.bas
 
 
Dicts.v2.bas
Dicts.v2.bas
 
 
HeirarchyReader.bas
HeirarchyReader.bas
 
 
LICENSE
LICENSE
 
 
Lists.bas
Lists.bas
 
 
Nodes.bas
Nodes.bas
 
 
README.md
README.md
 
 
Test.bas
Test.bas
 
 
TreeSets.bas
TreeSets.bas
 
 
util.bas
util.bas
 
 
xlDataStructure.py
xlDataStructure.py
 
 

Repository files navigation

Introduction

Leverage the Power of Functional Programming in VBA


     Dim dict As New Dicts
     dict.map("_*2").filterKey("_>4")

Basic Usage

Example :

  • print out all the projects with a NPV > 5 to screen (discount rate 10%).

The spreadsheet "src" is as below.

example1

1. Create a new instance

     Dim d As New Dicts

2. Load the dict with data in the spreadsheet

     Call d.loadRng("", 1, d.rng(2, d.x("", 1)), 2)

3. filter it functionally and elegantly

     d.reduceRngX("{v}+{*}/1.1^({i}+1)").filterVal("{*}>5").p

Support or Contact

Having trouble with this project? You can contact yang('at')qiou('dot')eu and I will help you sort it out.

About

Enhance the functionality of Dictionary Modul

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.