Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gusty committed Jun 7, 2016
1 parent 2d2714d commit f549fba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions FSharpRibbon/MyRibbon.fs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ open Microsoft.Office.Interop.Excel
open ExcelDna.Integration
open ExcelDna.Integration.CustomUI

// This defines a regular Excel macro (in Excel you can press F8, type in the name "showMessage", then click the Run button).
// This defines a regular Excel macro (in Excel you can press Alt + F8, type in the name "showMessage", then click the Run button).
// For the ribbon, it will be run through the ExcelRibbon.RunTagMacro(...) helper, which run whatever macro is specified in the button tag attribute
// One advantage is that you can
[<ExcelCommand>]
Expand All @@ -20,7 +20,7 @@ type public MyRibbon() =
inherit ExcelRibbon()

// The ribbon xml definition could also be placed in the .dna file
// Remeber to switch on the ExcelOption "Show add-in user interface errors" option (under the Advanced tab under General)
// Remember to switch on the ExcelOption "Show add-in user interface errors" option (under the Advanced tab under General)
override this.GetCustomUI(ribbonId) =
@"<customUI xmlns='http://schemas.microsoft.com/office/2006/01/customui' >
<ribbon>
Expand All @@ -46,4 +46,4 @@ type public MyRibbon() =
cellA1.Value2 <- app.Version
// could also replace the last line with
// cellA1.Value(XlRangeValueDataType.xlRangeValueDefault) <- app.Version
// but Range.Value is an indexer property, so it's a bit inconvenient
// but Range.Value is an indexer property, so it's a bit inconvenient

0 comments on commit f549fba

Please sign in to comment.