English 中文(简体)
澳门2016年Excel的自动评论箱
原标题:Autosize comment box in Excel 2016 for Mac
问题回答

如MSDN所记载,评注的文字框架(和文本框架2)在2016年仅读作。

https://msdn.microsoft.com/en-us/vba/excel-vba/articles/shape-textframe-property-excel https://msdn.microsoft.com/en-us/vba/excel-vba/articles/shape-textframe2-property-excel

对Excel 365进行的快速测试表明,可以利用沙皮物体本身的自动不动产实现该评论的自动化。

Dim Commnt As Comment

For Each Commnt In Application.ActiveSheet.Comments   Autosize all comment boxes on the sheet
    Commnt.Shape.AutoSize = True
Next

然而,这并不被认为在2016年生效。

ActiveWorkbook.DisplayDrawingObjects = xlDisplayShapes

Check your workbook property, if shape is not available, calling autosize will cause the error. Workbook.DisplayDrawingObjects property





相关问题
import of excel in SQL imports NULL lines

I have a stored procedure that imports differently formatted workbooks into a database table, does work on them then drops the table. Here is the populating query. SELECT IDENTITY(INT,1,1) AS ID ...

Connecting to Oracle 10g with ODBC from Excel VBA

The following code works. the connection opens fine but recordset.recordCount always returns -1 when there is data in the table. ANd If I try to call any methods/properties on recordset it crashes ...

Excel date to Unix timestamp

Does anyone know how to convert an Excel date to a correct Unix timestamp?

C# GemBox Excel Import Error

I am trying to import an excel file into a data table using GemBox and I keep getting this error: Invalid data value when extracting to DataTable at SourceRowIndex: 1, and SourceColumnIndex: 1. As ...

Importing from excel "applications" using SSIS

I am looking for any tips or resources on importing from excel into a SQL database, but specifically when the information is NOT in column and row format. I am currently doing some pre-development ...

热门标签