Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/boris1993/excel-auto-filling

Auto filling cells with specified rule or content
https://github.com/boris1993/excel-auto-filling

data-generator excel vba vba-excel

Last synced: about 1 month ago
JSON representation

Auto filling cells with specified rule or content

Awesome Lists containing this project

README

        

# Auto Filling Script For Excel
Generate a bunch of data in Excel with given content

---
## Files

- data_generator.bas: The data generator

- frmGenerator.frm and frmGenerator.frx: The GUI version of the generator

---

## How to enable the developer ribbon

### In the Windows version

Goto "File" -> "Options" -> "Customize Ribbon"

Under Customize the Ribbon and under Main Tabs, select the "Developer" check box

### In the Mac version
Goto "Excel" -> "Preferences" -> "Ribbon & Toolbar"

![Excel Preferences](images/excel_preferences.png)

Then tick "Developer"

![Tick "Developer"](images/tick_developer.png)

---

## How can I use this

### For the script version:

- Open the "Visual Basic" developing environment

![Open "Visual Basic"](images/open_vb.png)

- Import `data_generator.bas` in Excel VBA

![Import File](images/import_file.png)

![Import The Script](images/import_script_version.png)

- Edit the code to fit your requirements, or you can write your logic here

![Change the parameters](images/parameters_for_the_script.png)

- And execute

![Hit this button](images/run_button.png)

- Then you can check if the result matches your requirement

![The result](images/the_generated_data.png)

### For the GUI version:

**Seems the UserForm won't work in the Mac version Office**

- Import `frmGenerator.frm` in Excel VBA
- Run the form and fill in the blanks
- Click "Generate"

![Filling with the GUI version](images/filling-gui.png)

---

## License
This source code is published under the WTFPL license. For detail, see [LICENSE](LICENSE) file.