これは重複している可能性がありますが、この機能を動作させるのに問題があります。その回答にあるXMLを使用します。
Excelリボンにカスタムツールチップを追加するにはどうすればよいですか?MicrosoftOffice用のカスタムUIエディターを使用しています。コードは次のとおりです。
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon>
<tabs>
<tab id="customTab" label="Quoting Utilities" insertBeforeMso="TabHome">
<group id="CGImportingFiles" label="Importing Files">
<button id="ImportOpenWorkbook" label="Import Open Workbook" size="large" imageMso="InfopathExportToExcel" onAction="CGCImportOpenWorkbook" screentip="Title" supertip="Imports the data from an open workbook" />
<button id="ImportSavedWorkbook" label="Import Saved Workbook" size="large" imageMso="FormExportToExcel" onAction="CGCImportSavedWorkbook" supertip="Imports the data from a saved workbook" />
<button id="ImportFromClipboard" label="Import From Clipboard" size="large" imageMso="PasteSingleCellTableAsTable" onAction="CGCImportFromClipboard" supertip="Pastes the clipboard contents" />
<button id="ClearDataTable" label="Clear Data Table" size="large" imageMso="NewTableStyle2" onAction="CGCClearDataTable" supertip="Clears all data within the data table" />
</group>
<group id="CGCleaningData" label="Cleaning Data">
<button id="UnmergeConsolidate" label="Unmerge Selection and Consolidate" size="large" imageMso="CatalogMergeCreateList" onAction="CGCUnmergeConsolidate" supertip="Unmerges all cells within the selection. If doing so would leave any empty rows or columns, delete them" />
<button id="CropSelection" label="Crop Selection" size="large" imageMso="PageFitToDrawing" onAction="CGCCropSelection" supertip="Deletes all data in the sheet which is outside the current selection. Selection is moved to A1" />
<button id="RemoveSpecialChars" label="Remove Special Characters" size="large" imageMso="WordCount" onAction="CGCRemoveSpecialChars" supertip="Removes all non-keyboard characters within selection (depends on header datatype)" />
<button id="RangeAssign" label="Assign Value to Range" size="large" imageMso="EnableInlineEdit" onAction="CGCRangeAssign" supertip="Assign one value to each cell in a range of cells" />
</group>
<group id="CGDataCategories" label="Header Functions">
<button id="ResetColumnHeaders" label="Reset Column Headers" size="large" imageMso="FieldChooser" onAction="CGCResetColumnHeaders" supertip="Clears all header selections" />
<button id="ClearBlankHeaders" label="Clear Blank Headers" size="large" imageMso="CrossFunctionalFlowchartVerticalDirection" onAction="CGCClearBlankHeaders" supertip="Replaces all blank header selections with actual blanks (a hyphen -> a blank)" />
<button id="ValidateColumnSelections" label="Validate Column Headers" size="large" imageMso="ReviewRevisionAccept" onAction="CGCValidateColumnSelections" supertip="Check that all required headers exist, that no header is duplicated, that every header has data, and that all data has a header" />
<button id="SortIntoStandardFormat" label="Sort Columns by Std Order" size="large" imageMso="ArrangeTools" onAction="CGCSortIntoStandardFormat" supertip="Sort data into the standard format, based on headers" />
</group>
<group idMso="GroupEnterDataAlignment" />
<group idMso="GroupEnterDataNumber" />
<group idMso="GroupClipboard" />
<group idMso="GroupAlignmentExcel" />
<group idMso="GroupCells" />
<group idMso="GroupEditingExcel" />
</tab>
</tabs>
</ribbon>
最初のボタン(ImportOpenWorkbook)には、screentip = "Title"タグとsupertip = "開いているブックからデータをインポートする"タグの両方があることに注意してください。残りのボタンにはsupertipタグのみがあります。また、screentipタグのみを含めてみましたが、成功しませんでした。
この機能は、メニュー項目のホバーツールチップを表示することになっていますよね?なぜそれが起こらないのですか?
Microsoft Office Professional Plus2013を使用しています。
以下のスクリーンショット:問題のカスタムリボンタブ。スクリーンショットプログラムでカーソルがキャプチャされていませんが、最初のメニュー項目は現在カーソルの下にあります。10秒間待っても、そのようなツールチップは表示されません。ツールチップを正常に表示することはまだできていません。
以下のスクリーンショット:オプションウィンドウ。ShowfunctionScreenTipsがすでに有効になっていることを示しています。注:他の(組み込みの)関数も画面のヒントを表示していません!ScreenTipがどのように表示されるかを誰かに教えてもらえますか?クライアント設定で有効になっているのに何も表示されない場合、問題の原因は何でしょうか。
For reference, the MSDN documentation for the Custom UI Editor button is found here.
I have found an answer to my own question! I will share it for posterity.
The critical piece of information in the Question is:
No other (built-in) functions are showing screentips either!
I was able to find a second setting for ScreenTips (why there are two distinct settings meaning 'Show Screentips', I might never know). Screenshot below:
以前は、ScreenTipスタイル設定は「ScreenTipsを表示しない」でしたが、「ScreenTipsで機能の説明を表示する」である必要がありました。繰り返しになりますが、この設定は質問で説明されている設定と重複しているように感じますが、Microsoftによると「機能」と「機能」にはおそらく違いがあります...?もしそうなら、用語は(明らかに)混乱しやすいです。
とにかく、ScreenTips(およびSuperTips)は正しく表示されるようになりました!以下のスクリーンショットを参照してください。
なぜMicrosoftには同じようなタイトルの2つの設定があるのですか?
これらが2つの異なる設定である理由がわかっている場合は、コメントとして検討することで、この問題をさらに明確にするか、少なくとも「機能」と「機能」という用語の意味を理解するのに役立ちます。
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加