简体   繁体   English

将数据从Word复制到Excel单元格。 然后在相邻单元格中触发公式。 怎么样?

[英]Copy data from Word to Excel Cell. Then trigger formula in adjacent cell. How?

I have a VBA code which moves data from Word to specific Excel Cell. 我有一个VBA代码,可将数据从Word移动到特定的Excel单元格。 In Excel sheet, there is formula which is triggered by the number inserted from word file. 在Excel工作表中,有一个公式,该公式由word文件中插入的数字触发。 There formula is placed in next column to the column where I insert data from Word. 公式放在我从Word插入数据的列的下一列中。

Code for copying data from Word works well, but after the insertion the formula is not triggered. 从Word复制数据的代码运行良好,但是在插入公式之后不会触发。 Formula works fine if I insert number manually. 如果我手动插入数字,则公式工作正常。

Do you have idea why formula is not triggered? 您知道为什么不触发公式吗?

您检查过单元格的格式了吗?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Excel SumProduct在单元格中带有if语句。 - Excel SumProduct with if Statement in a cell. 向单元格添加公式。 收到 1004 错误 - Adding a formula to a cell. Getting 1004 error 在 excel 中复制一列并将每个条目/单元格加倍。 如何? - Copying a column in excel and doubling every entry/cell. How to? 在 Excel 检查两个单元格中的短语,如果在两个单元格中找到任何列出的单词,则需要在另一个单元格中添加该单词。 对整列重复此操作 - In Excel Check phrases in two cell and in the two cell if any listed word found,need to add the word in another cell. repeat this for entire column 如果列H在单元格中有日期,如何将整行复制到工作表2。 - how to copy an entire row to sheet 2 if column H has a date in cell.? 引用尚不存在但将通过单元格中的变量创建的工作表名称。 Excel VBA - Reference a sheet name that doesn't yet exist but will be created from a variable in a cell. Excel VBA 从 D 列中提取唯一值并组合在一个单元格中。 Excel VBA - Extract unique values from Column D and combine in a single cell. Excel VBA Excel在同一列中向所有人发送电子邮件,只需要向特定单元格中的所有人发送电子邮件。 怎么样? - Excel sending emails to all people in one Column, need to email only person in specific cell. How? 将图表从一张工作表复制到另一张工作表的特定单元格。 在继续下一个图表之前,更改图表 VBA excel 的 X 和 Y 边界 - Copy Charts from one sheet to another sheet to a specific cell. Before moving on to the next chart, change the X and Y bounds of the chart VBA excel Excel单元格包含对其他单元格的引用。 设置范围以指向另一个单元格 - Excel cell contains reference to other cell. Set a range to point at the other cell
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM