问题标签 [excel-2013]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
8117 浏览

vba - 您可以在自动填充功能中使用单元格而不是范围吗?

如果我有这个,例如:

如果我想使用 Cells(),而不是使用 Destination 下的 Range(),该怎么办?就像,不是在 range 函数中使用单元格引用,而是用 Cells() 替换它,如下所示:

我一直在玩它,似乎无法让它工作。

0 投票
2 回答
454 浏览

vba - 创建临时 Excel 图表

此代码创建我想要的数据图表。有没有办法使创建的图表成为临时图表,以便当您单击图表外部的任何位置时它会删除?

0 投票
1 回答
1191 浏览

vba - Excel CheckBox 选择图表范围

我有这段代码可以根据通过复选框接受的信息创建图表。但是您未选择的任何帐户都显示为“空白”图例条目是否有删除“空白”图例条目的宏代码?

在此处输入图像描述

0 投票
1 回答
860 浏览

windows-8 - powerpivot 2013 mysql 64 位

我正在尝试将数据从远程 mySQl 服务器下载到 powerpivot 2013 Excel 插件中。配置如下: - 操作系统:windows 8 - Excel 2013 64 位 - 连接器:尝试了 ODBC 连接器 3.51.30(我有使用该连接器的 excel 2010 32 位的工作配置)和 5.2.5(使用 unicode)

服务器端 innodb_version 1.1.8 protocol_version 10 slave_type_conversions
version 5.5.28-1 version_comment (Debian) version_compile_machine x86_64 version_compile_os debian-linux-gnu

如果我直接通过 excel 获得连接,它工作得很好,但使用 powrpivot 插件我得到以下错误 1. 如果我通过选项“选择表并查看”然后“在数据源中找不到表。检查连接信息和登录凭据”。

  1. 如果我通过查询选项然后如果我查询
    select * from table

使用 3.51 连接器
“算术运算导致溢出”。如果我使用设计按钮:当我执行选择语句时,我会看到列名,但所有数据都会显示“错误”

使用 5.2 连接器

错误 [HY010] [MySQL][ODBC 5.2(w) 驱动程序][mysqld-5.5.28-1]

虽然如果我单击设计按钮并执行查询,我会在该窗口中获取数据


阅读
http://blogs.msdn.com/b/maria/archive/2012/07/05/quot-arithmetic-operation-resulted-in-an-overflow-quot-error-running-a-report后的中途解决方案-that-uses-a-connection-data-source-to-oracle-10.aspx
我决定卸载我的 Office 2013 64 位并
使用 3.51 连接器(32 位)安装 32 位版本一切恢复正常

0 投票
1 回答
519 浏览

excel - 在 Excel VBA 中选择广泛的值

所以这是我在 Excel VBA 中的代码

该代码是每当更改 CF-Apar 工作表中的值时更改或移动当前单元格中的值,但当前代码仅覆盖一个范围(对于这种情况,它是 M,在 CF-Apar 索引中),问题是,如何添加更多范围单元格,例如从 M30 到 Q40,最好的方法是如何做到这一点?

0 投票
3 回答
1753 浏览

excel - EPPlus 条形图条在 Excel 2013 中不显示负值颜色,但在 Excel 2007 中工作正常

我在 C# 中使用 EPPlus for Excel Package 使用 BarClustered 图表。我能够根据需要生成条形图。我面临的唯一问题是,当我有一个负值时,条不显示任何颜色。这就像一个只有边框的透明条。

我在 Excel 2013 中遇到了这个问题。但是这在 Excel 2007 中运行良好。

下面是我使用 Excel 2013 打开时得到的负值图像。

Excel 2013 图表(这不是我提供的示例数据的图表)

0 投票
1 回答
3698 浏览

excel - 基于先前单元格值的条件格式

我希望将条件格式应用于我在 Excel 中拥有的一系列数据,如果最近一天的数据低于之前的数据,则显示红色,如果高于之前的数据,则显示绿色。

例如 Day,Value, 突出显示单元格颜色

  • 第 1 天 1000
  • 第 2 天 2000 绿色 - 因为它高于第 1 天
  • 第 3 天 500 红色 - 因为它低于第 2 天
  • 第 4 天 6000 绿色
  • 第 5 天 4000 红色

我想为我的所有数据复制这个,然后理想地能够计算“运行”的次数,例如红细胞的数量,这样你就可以看到性能下降的连续天数。

我用什么公式来实现这两件事?

0 投票
2 回答
9047 浏览

excel - Excel 2013 VBA 错误

我收到以下错误。

VBA 代码

它在 Excel 2010 中运行良好。

谢谢。

编辑

我得到的错误是Ret Variable Not defined. 这是其余的代码。

0 投票
1 回答
527 浏览

xml - XML解析成excel

我已经经历了大约 20 个尝试将 xml 解析为 excel 的示例,但似乎没有一个适用于我的源代码。这里最大的问题是我不知道如何在 excel VBA 中解析 xml。

以下是我的问题:

1) 有没有我可以用来理解你们推荐的 Excel 中使用的 MSXML 参考库的在线资源?2) 我要解析的 xml 是否存在格式错误?(参见下面的示例 xml)

错误消息通常似乎有两个主题。该示例使用了未在 MSXML v6 中定义的变量,或者它打开了 xml 但从未找到文档元素。

*更新:对不起,我应该说我正在尝试获取消息 href、主题标题、发布日期和变量 Kudos

0 投票
2 回答
2687 浏览

excel - Mutually Exclusive Dropdowns in Excel

I have an Excel (2013) sheet with 5 cells which each have an identical dropdown (List Data Validation). This dropdown list has exactly 5 values (A, B, C, D, E) as well. Is there any way (preferably without having to get into VB) to make the cell values chosen (and ideally choosable) mutually exclusive, e.g., B C E D A would be a valid combination, B B E D A would not.

For example, if these are the five cells:

enter image description here

When I use "conventional" validation (using the range A5:A9 which I named validRange), you see that the pulldown menu shows all five values, even though some of these values were already used. What I would like to see is something like this:

enter image description here

Where the pulldown menu includes only the values that were not yet used. Can anyone help me figure out how to create a validation range that includes only "unused" cells (like the "Clean Range" in my spreadsheet below)?