Giter Club home page Giter Club logo

excel-vba-faceid.bas's Introduction

Display FaceId images & numbers in Excel worksheet

Excel VBA macro to display built-in FaceId icons and numbers in a worksheet.

example of FaceId icons and numbers displayed in worksheet

The CommandBarButton.FaceId Property is used to set the look (icon) of buttons used on a command bar (like the ribbon or a popup menu).

The repo includes a PDF "faceid-number-1-to-20000.pdf" made with this macro showing the FaceId icons from number 1 to 20000.

Installation

Clone or download the repository. You can also download the Excel file faceid.xlsm directly.

Usage

The macro "faceids_to_wks" is located inside the module "faceid" in the Excel file "faceid.xlsm".

Call the Sub faceids_to_wks with the following parameters:

parameter type description
wks Worksheet The worksheet as object to display the FaceIds in
str_first_cell String Address of first cell to use as a string like "B2"
min_face_id Long Number of first FaceId to display
max_face_id Long Number of the last FaceId to display
ids_per_row Long Number of IDs displayed per row

Example call (included in the module "faceid"):

'example for calling the main sub and display FaceId 1 to 1000 in the wks
'the output of this is already generated and visible in the worksheet "faceid"
Sub call_faceid()
    Call faceids_to_wks(ThisWorkbook.Worksheets("faceid"), "B2", 1, 1000, 25)
End Sub

Remark: The module gets automatically exported when saving the Excel file. To stop this behavior change the constant in the module "autoopen" to "False":

Private Const is_in_development As Boolean = False

Contributing

If you find a bug, please create a new issue. Pull requests are also welcome.

Contributors

License

Copyright (c) 2016 Daniel Hubmann. Licensed under MIT.

excel-vba-faceid.bas's People

Contributors

hubisan avatar

Watchers

Yarke avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.