Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/excel-projects/excel-favorites

:star: This VSTO Add-In creates a custom "Favorites" ribbon. Key distinctive attributes include dedicated buttons for changing the visibility/sort order of sheets, copying visible cells, Excel's camera feature, Snipping Tool, Problem Steps Recorder (PSR) and Windows Calculator. It is written in 3 different versions as a VSTO Add-In in C# and VB.NET as well as a VBA Add-In.
https://github.com/excel-projects/excel-favorites

addin c-sharp example-project excel excel-camera favorites-ribbon javascript microsoft-problem-steps-recorder microsoft-snipping-tool psr ribbon vb-net vba visual-studio visual-studio-community visualbasic vsto windows-calculator

Last synced: about 6 hours ago
JSON representation

:star: This VSTO Add-In creates a custom "Favorites" ribbon. Key distinctive attributes include dedicated buttons for changing the visibility/sort order of sheets, copying visible cells, Excel's camera feature, Snipping Tool, Problem Steps Recorder (PSR) and Windows Calculator. It is written in 3 different versions as a VSTO Add-In in C# and VB.NET as well as a VBA Add-In.

Awesome Lists containing this project

README

        

This Add-In gives the user a custom favorites ribbon. Key distinctive attributes include dedicated buttons for changing the visibility/sort order of sheets, [copying visible cells](https://support.office.com/en-us/article/Copy-visible-cells-only-6e3a1f01-2884-4332-b262-8b814412847e), [Excel's camera feature](https://answers.microsoft.com/en-us/msoffice/forum/msoffice_excel-mso_winother/how-to-use-camera-function-in-microsoft-excel/44a97349-f694-4bd3-a5ca-e4097f6e9437?auth=1), [Snipping Tool](https://support.microsoft.com/en-au/help/4027213/windows-open-snipping-tool-and-take-a-screenshot), [Problem Steps Recorder (PSR)](https://support.microsoft.com/en-au/help/22878/windows-10-record-steps) and [Windows Calculator](https://en.wikipedia.org/wiki/Windows_Calculator). It is written in 3 different versions as a VSTO Add-In in C# and VB.NET as well as a VBA Add-In. The most complete version is C#.

:new: I'm currently working on the Web Add-In in JavaScript.

[![Join the chat at https://gitter.im/MicrosoftExcelFavorites/Lobby](https://badges.gitter.im/MicrosoftExcelFavorites/Lobby.svg)](https://gitter.im/MicrosoftExcelFavorites/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE "MIT License Copyright © Anthony Duguid")
[![Latest Release](https://img.shields.io/github/release/Excel-projects/Excel-Favorites.svg?label=latest%20release)](https://github.com/Excel-projects/Excel-Favorites/releases)
[![Github commits (since latest release)](https://img.shields.io/github/commits-since/Excel-projects/Excel-Favorites/latest.svg)](https://github.com/Excel-projects/Excel-Favorites/commits/master)
[![GitHub issues](https://img.shields.io/github/issues/Excel-projects/Excel-Favorites.svg)](https://github.com/Excel-projects/Excel-Favorites/issues)




## Table of Contents
- Install
- Dependencies
- Glossary of Terms
- Functionality
- Worksheet
- Edit
- Print
- Program
- Evaluate
- Options
- Annotate
- Help
- About



## Install
Instructions for installation of VBA and VSTO versions.

### VBA
How to install the VBA version
1. Download the VBA Add-In file [![download VBA](https://img.shields.io/badge/download-VBA-brightgreen.svg)](https://github.com/Excel-projects/Excel-Favorites/raw/master/VBA/Favorites.xlam?raw=true "Download the VBA Add-In").
2. Copy the file to the XLSTART folder on your computer. ```%AppData%\Microsoft\Excel\XLSTART\```
3. Close all open instances of Excel and then launch Excel. The new ribbon should appear.

### VSTO
How to install the VSTO version
1. Download AnthonyDuguid.pfx And Install At Root Level [![download Key](https://img.shields.io/badge/download-Key-brightgreen.svg)](https://github.com/Excel-projects/Excel-Favorites/blob/master/CS/AnthonyDuguid.pfx?raw=true "Download AnthonyDuguid.pfx And Install At Root Level For VSTO")
2. Download and run the setup.exe file.
[![download VSTO](https://img.shields.io/badge/download-VSTO-brightgreen.svg)](https://github.com/Excel-projects/Excel-Favorites/blob/master/CS/publish/setup.exe?raw=true "Download Setup.exe Install File")



## Dependencies
|Software |Dependency |Project |
|:------------------------------------------|:--------------------------|:--------------------------|
|[Microsoft Visual Studio](https://www.visualstudio.com/vs/whatsnew/)|Solution|VSTO|
|[Microsoft Office Developer Tools](https://visualstudio.microsoft.com/vs/features/office-tools/)|Solution|VSTO|
|[Microsoft Excel](https://www.microsoft.com/en-au/software-download/office)|Project|VBA, VSTO|
|[Visual Basic for Applications](https://msdn.microsoft.com/en-us/vba/vba-language-reference)|Code|VBA|
|[Extensible Markup Language (XML)](https://www.rondebruin.nl/win/s2/win001.htm)|Ribbon|VBA, VSTO|
|[Snagit](http://discover.techsmith.com/snagit-non-brand-desktop/?gclid=CNzQiOTO09UCFVoFKgod9EIB3g)|Read Me|VBA, VSTO|
|Badges ([Library](https://shields.io/), [Custom](https://rozaxe.github.io/factory/), [Star/Fork](http://githubbadges.com))|Read Me|VBA, VSTO|



## Glossary of Terms

| Term | Meaning |
|:--------------------------|:-----------------------------------------------------------------------------------------|
| COM |Component Object Model (COM) is a binary-interface standard for software components introduced by Microsoft in 1993. It is used to enable inter-process communication and dynamic object creation in a large range of programming languages. COM is the basis for several other Microsoft technologies and frameworks, including OLE, OLE Automation, ActiveX, COM+, DCOM, the Windows shell, DirectX, UMDF and Windows Runtime. |
| VBA |Visual Basic for Applications (VBA) is an implementation of Microsoft's event-driven programming language Visual Basic 6 and uses the Visual Basic Runtime Library. However, VBA code normally can only run within a host application, rather than as a standalone program. VBA can, however, control one application from another using OLE Automation. VBA can use, but not create, ActiveX/COM DLLs, and later versions add support for class modules.|
| VSTO |Visual Studio Tools for Office (VSTO) is a set of development tools available in the form of a Visual Studio add-in (project templates) and a runtime that allows Microsoft Office 2003 and later versions of Office applications to host the .NET Framework Common Language Runtime (CLR) to expose their functionality via .NET.|
| XML|Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.The design goals of XML emphasize simplicity, generality, and usability across the Internet. It is a textual data format with strong support via Unicode for different human languages. Although the design of XML focuses on documents, the language is widely used for the representation of arbitrary data structures such as those used in web services.|



## Functionality
This Excel ribbon named “Favorites” is inserted after the “Home” tab when Excel opens.


### Worksheet (Group)

#### Save (Button)
* Save (Ctrl + S)


#### Save As (Button)
* Save As (F12)


### Edit (Group)

#### Undo (Button)
* Undo (Ctrl + Z)


#### Copy (Button)
* Copy (Ctrl + C)


#### Cut (Button)
* Cut (Ctrl + X)


#### Paste (Button)
* Paste (Ctrl + V)


#### Spelling (Button)
* Spelling (F7)


### Print (Group)

#### Setup (Button)
* Show the Sheet tab of the page setup dialog box


#### Preview (Button)
* Preview (Ctrl + F2)


#### Print (Button)
* Print (Ctrl + P)


### Program (Group)

#### New (Button)
* New file


#### Open (Button)
* Open (Ctrl + O)


#### Close (Button)
* Close file


#### Properties (Button)
* Open the properties of the file


#### Options (Button)
* Open the options dialog box


#### Exit (Button)
* Exit the application


### Evaluate (Group)


#### Windows Calculator (Button)

calculator

- The Windows Calculator runs in standard mode, which resembles a four-function calculator. More advanced functions are available in scientific mode, including logarithms, numerical base conversions, some logical operators, operator precedence, radian, degree and gradians support as well as simple single-variable statistical functions


#### Calculate Now (Button)

- Force the Calculation. Even if the Calculation option is set for Manual, you can force a calculation.


### Annotate (Group)


#### Excel Camera(Button)

- The camera tool allows you to take a snapshot of any selected range of data, table, or graph, and paste it as a linked picture.
The pasted snapshot can be formatted and resized using picture tools. They can be copied and pasted into Word and PowerPoint documents as well. The image is automatically refreshed if the data changes.


#### Snipping Tool (Button)

snipping_tool

- Capture all or part of your PC screen, add notes, save the snip, or email it from the Snipping Tool window. You can capture any of the following types of snips:
- Free-form snip. Draw a free-form shape around an object.
- Rectangular snip. Drag the cursor around an object to form a rectangle.
- Window snip. Select a window, such as a browser window or dialog box, that you want to capture.
- Full-screen snip. Capture the entire screen.


#### Problem Step Recorder (Button)

psr

- Steps Recorder (called Problems Steps Recorder in Windows 7), is a program that helps you troubleshoot a problem on your device by recording the exact steps you took when the problem occurred. You can then send this record to a support professional to help them diagnose the problem.


### Options (Group)

#### Add-In Settings (Button)


VSTO



- Types of VSTO Settings
- Application Settings
- These settings can only be changed in the project and need to be redeployed
- They will appear disabled in the form
- User Settings
- These settings can be changed by the end-user
- They will appear enabled in the form


VBA



- VBA Settings
- To add a new setting
```vbnet
ThisWorkbook.CustomDocumentProperties.Add _
Name:="App_ReleaseDate" _
, LinkToContent:=False _
, Type:=msoPropertyTypeDate _
, Value:="31-Jul-2017 1:05pm"
```
- To update a setting
```vbnet
ThisWorkbook.CustomDocumentProperties.Item("App_ReleaseDate").Value = "31-Jul-2017 1:05pm"
```
- To delete a setting
```vbnet
ThisWorkbook.CustomDocumentProperties.Item("App_ReleaseDate").Delete
```

### Help (Group)


#### How To... (Button)
* Opens the how to guide in a browser


#### Report Issue (Button)
* Opens the new issue page in a browser


#### New Version Is Available (Button)
* This button is visible if the version of the Add-In is different from the one in the Read Me page. It will download a new version from the site when pressed.


### About (Group)


about


#### Add-in Name (Label)
* The application name with the version


#### Release Date (Label)
* The release date of the application


#### Copyright (Label)
* The author’s name