由买买提看人间百态

topics

全部话题 - 话题: excel
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
s******n
发帖数: 34
1
来自主题: Programming版 - how to display an excel file in java? (转载)
【 以下文字转载自 Java 讨论区 】
发信人: shanshan (xixi), 信区: Java
标 题: how to display an excel file in java?
发信站: BBS 未名空间站 (Tue Jul 26 11:52:24 2005)
I need to load an excel file and display it in a seperate window,
anyone knows how to do this in java?
Many thanks.
b******y
发帖数: 139
2
I have an excel file which has 10 rows of data. I want to edit a button on a
Windows from, once the button is clicked, then the data in the excel is
displayed on the Window form as a dataset. How do I code that?
s*****r
发帖数: 59
3
来自主题: Programming版 - QueryTable object in excel
whenever opened an excel, for certain sheet in that excel workbook, a
querytable object already created, how could I do that? Thanks.
b******i
发帖数: 13
4
来自主题: Programming版 - excel 数据中间有‘|’ (转载)
【 以下文字转载自 Database 讨论区 】
发信人: benkqphi (Jason), 信区: Database
标 题: excel 数据中间有‘|’
发信站: BBS 未名空间站 (Tue Apr 29 12:56:14 2008)
比如一个单元格里的数据是:6|20|13|20|4|20|14
现在要做一个平均数,想到的方法是:
把这个单元格的数据考到txt里,再把|替换为回车,考回excel,算平均
太麻烦了。。。有什么高招?
b*******b
发帖数: 613
5
【 以下文字转载自 Software 讨论区 】
发信人: bloodyjob (BloodyJob), 信区: Software
标 题: 如何从excel以特定格式导出数据到word?
发信站: BBS 未名空间站 (Tue Jun 17 09:58:03 2008)
excel里面的数据如下格式:
A B C D
l******n
发帖数: 9344
6
来自主题: Programming版 - question about excel and access
I have some macros in access to do some queries. The output are needed in
excel. I am writing VBA in excel to do that. Can I reuse all the macros in
access? How can I do that?
Thanks
y***i
发帖数: 34
7
anyone had this problem before?
I tried to read "," delimited CSV file in EXCEL 2007 using VBA, but
Workbooks.OpenText Filename:=curFilepath + "\Settlement.csv", DataType:=
xlDelimited, comma:=True
it converted "Jan-09" to Jan 09, 2008. Actually, it should be Jan-2009.
Microsoft said it is a problem in EXCEL 2002.users have to change register
file.
Any expert knows how to fix it in code, not in register file?
Thanks a lot!
d********t
发帖数: 837
8
【 以下文字转载自 Windows 讨论区 】
发信人: digitalcat (朱坚强), 信区: Windows
标 题: save a VBA macro in excel using vbscript
发信站: BBS 未名空间站 (Tue Nov 18 13:56:30 2008)
Hi all, I wonder if anyone knows how to save a VBA macro in a newly created
excel spreadsheet using vbscript? Thanks.
q**j
发帖数: 10612
9
来自主题: Programming版 - 问一个EXCEL VBA programming的问题。
最近要写几个excel vba 程序。手边有几本书,所以大概的东西都知道。但是仔细一些
的东西就不清楚了。因为这些教程都不会那么详细。比如 activecell.后面可以有几十
个选项。(我从vb editor的提示部分看到的。)有没有一个地方可以吧后面所有可以
加的property, method都列出来?比如activecell.Value, activecell.offset() etc。
另外大家平常vba excel的时候看帮助是用vb editor里面的帮助还是用msdn的帮助。或
者其他的地方。多谢指教。
s*********h
发帖数: 413
10
来自主题: Programming版 - 请教Excel里面的问题
原来同事留下来的EXCEL文件, 有个功能是把TXT文件Import进来, 然后根据数据范围
, CELL的颜色会变成白色或者红色。 我想修改数据的范围。 请问如何去做?
我EXCEL的水平很差, 请大家给点儿Tips。
多谢!
z******a
发帖数: 363
11
我写了一个VB.NET的小程序,现在想让VB.NET读取一个打开的Excel文件当中工作表(
worksheet)
的一个cell中的数据,这个数据是实时的股票价格,会一直变化。这个程序会根据这个
数据的大小来进
行相应的操作。
有什么办法能让VB.NET做到这一点的?我查了下网上,大都是静态的读取excel文件中
的数据。似乎没
有能让vb.net读取正在打开的,而且是变化中的数据。谢谢!
t**********s
发帖数: 930
12
【 以下文字转载自 Statistics 讨论区 】
发信人: tennisalways (tennisforever), 信区: Statistics
标 题: 请问怎样才能在Excel中才能做出这个统计图?
发信站: BBS 未名空间站 (Thu Nov 18 21:39:39 2010, 美东)
比方说:
Nov. 2 57
Nov. 3 56
Nov. 4 61
Nov. 5 56
Nov. 6 57
横坐标上有 56, 57, 61 三个点,对应的纵坐标是2, 2, 1.
就是说华式56度的天气有两天,57度的天气有两天,61度的有1天.
这个图在 Excel 2007里怎么做?
谢谢
p****r
发帖数: 165
13
来自主题: Programming版 - excel macro running slow
thanks.
but why it only slow after I ran it once. If I open the excel the first
time and run it, it is very fast. then if I ran it 2nd time, it is extremely
slow. so I close all my excel workbook and reopen the one with macro, and
run the macro again, it is fast again. I thought it was something wrong with
my macro.
in normal speed, my macro run within 3 min. when it is slow, it ran 3 hours.

macro
z*******3
发帖数: 13709
14
我看了下,目测还是可以免费用的,你试试不就知道了
这个我想出来比较麻烦的是要倒腾java.io,这个有些小烦
其它都还好
如果你真怕不免费,简单,google会告诉你很多其它选择,来看看java的类库有多牛吧
http://stackoverflow.com/questions/6118635/what-is-the-best-pdf
类似的,excel也一样
google会告诉你很多
目测apache有两个项目,正好对应这两个文件格式
一个是
http://poi.apache.org/
针对excel
一个是
http://pdfbox.apache.org/
针对pdf
so,放马上吧
x***y
发帖数: 72
15
code 见下。excel file 值是 235693.328673913, 用了format,显示为235,693
。转成csv后为"235,693",请问,如何在csv中存为没有格式的数字?
--------------------------------------------
Dim strExcelFileName
Dim strCSVFileName
Rem strExcelFileName = WScript.Arguments.Item(0) 'file name to parses
strExcelFileName = "test.xlsx"
Rem get path where script is running
Set fso = CreateObject ("Scripting.FileSystemObject") 'use this to find
current path
strScript = Wscript.ScriptFullName
strScriptPath = fso.GetAbsolutePathName(strScript & ".."... 阅读全帖
l******9
发帖数: 579
16
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: delete sheets from Excel workbook in C#
发信站: BBS 未名空间站 (Fri May 22 14:08:38 2015, 美东)
I need to delete some sheets from an Excel workbook in C#.
But, my code does not work.
// **aDeleteList** hold the sheets that need to be deleted from the
workbook wbk
static void delete_sht(ref MsExcel.Workbook wbk, List
aDeleteList)
{
MsExcel.Sheets my_st = wbk.Sheets;
foreach (MsExcel.Worksheet s in ... 阅读全帖
m******1
发帖数: 418
17
DLL 文件拷贝在 c:Windows,并且在 VBA 子程序中加了路径。对32位Excel运行良好。
但用在64位Excel上时,尽管用寻找文件的子程序调试时能够找到DLL文件,但在运行程
序时一直显示找不到这个Fortran DLL文件.
请各位大侠指教如何解决,多谢了。
w*******d
发帖数: 66
18
来自主题: Security版 - Excel 注册表被更改
每次要开Excel都显示要安装front page软件。好像是Excel 注册表被改到了front
page。不知道
该怎么恢复。有什么建议?多谢!
B*******e
发帖数: 3882
19
this are many tuturials online, just search vba and excel in google.
If u never write VBA before, the following website can get u started:
http://class.et.byu.edu/ce270/vbaexcel_primer/intro.htm
http://www.beyondtechnology.com/howto.shtml
http://www.j-walk.com/ss/excel/tips/vbafunctions.htm
As for the functions, just read the Visual basic help in office
m*********3
发帖数: 1
20
【 以下文字转载自 JobHunting 讨论区 】
发信人: michelle123 (offerlover), 信区: JobHunting
标 题: 借人气问一下,如何用excel做error checking
发信站: BBS 未名空间站 (Thu May 3 22:47:24 2007)
只做过sas的error checking,有高人能给说说用excel是怎么做么?
感激不尽
w********r
发帖数: 238
21
【 以下文字转载自 Statistics 讨论区 】
发信人: winddancer (piao piao), 信区: Statistics
标 题: excel 的大牛们, 帮忙看个简单的小问题, 急的
发信站: BBS 未名空间站 (Thu Jun 14 22:00:36 2007)
在excel 中如何表示:
if B1 is highlighted (with yellow, red or other colors) then C1 is equal to
Y or C1 is equal to N. 处理别人的数据中遇到的, 一个一个改, 太多了.
Thanks.
q****p
发帖数: 4536
22
Thanks. I used paste special and check the Transpose box in excel. It did
not work in my way because my intention is not converting the rows into
columns or columns into rows in excel.
What I want is still the original table (say 5 rows and 10 columns), but in
a vertical display in word (still 5 rows and 10 cloumns). In other words you
have to flip over the table using 90 degree to the right.
y***n
发帖数: 4
23
来自主题: Software版 - 怎么把pdf变成excel?
不知道你是数据还是什么的。。。如果不需要EXCEL里面计算什么的。。copy paste就
可以了啊
如果是数据可以用一下"引用数据" excel里面。。。 也可以做到。。之后还可以计算
什么的
t*********n
发帖数: 57
24
手上有一个EXCEL的关于会计的表格练习题。 是那种做完后会自动给分的EXCEL表格
。 用软件把里面的宏的密码查出来后,仍然显示不了正确答案。。。请问有什么办法
直接看正确答案吗?谢谢了
c*******u
发帖数: 3526
25
来自主题: Software版 - Excel就是一大垃圾!!Fuck微软!
winrar里面打开的文件直接被Excel打开
我做了4个小时的文件,更换文件名,save,但是没点过save as。
最后做完以后,关了,要上传的时候,发现他妈的文件没有了!
搜索文件,发现一个隐藏文件,像是备份的那种,是我用的名字。妈的打不开,说文件
已被删除。
fuck your mother微软!你做Excel不能保存在电脑里你就别打开winrar的压缩文件。
Fuck 微软!我咒你股票明天跌50%!!!
h*******x
发帖数: 12808
26
来自主题: Software版 - Excel就是一大垃圾!!Fuck微软!
cmft,你这智商,今后还是别用电脑了。

winrar里面打开的文件直接被Excel打开
我做了4个小时的文件,更换文件名,save,但是没点过save as。
最后做完以后,关了,要上传的时候,发现他妈的文件没有了!
搜索文件,发现一个隐藏文件,像是备份的那种,是我用的名字。妈的打不开,说文件
已被删除。
fuck your mother微软!你做Excel不能保存在电脑里你就别打开winrar的压缩文件。
Fuck 微软!我咒你股票明天跌50%!!!
d**i
发帖数: 9682
27
来自主题: Software版 - Excel就是一大垃圾!!Fuck微软!
没错,excel就是office的精华。excel>ppt>>word.
w****g
发帖数: 597
28
来自主题: Software版 - 请教一个Excel的问题
应该编写简单的Excel VBA代码程序, 例如,可以参考和修改下例代码,来实现你的要求.
Excel: Loop through all worksheets in the Active workbook.
http://www.vbaexpress.com/kb/getarticle.php?kb_id=390
f**********r
发帖数: 3774
29
请教一下,我收到一份excel文档,其中的中文在我的英文excel 2007上显示为乱码,
请问有什么办法可以恢复
多谢!
w**g
发帖数: 8
30
有如下两列数据:
3 2
2 4
9 6
1 8
6 10
第一列为原始数据, 第二为bin。Excel Analysis tools中Histogram可以用来计算第
一列数据的频率(以第二列为bin). 但是Histogram 不能自动执行。
我的问题是:怎样在第三列用Excel function计算出相应bin的频率。我用如下
function但其结果与Histogram所得结果不一样
A3=(countif($A$1:$A$5,"<"&B2)-countif($A$1:$A$5,"<="&B1))/count($A$1:$A$5)。
不知错在那?或有更好的function? Thanks much!
o*********s
发帖数: 12
31
来自主题: Software版 - 包子问个excel的问题
docs.google.com里面如果你create1个excel文件, 他默认就给分割开成了2个,上面,下
面.
上面就1行 , 下面可以scroll
我如何在本地硬盘excel里实现这个东西? copy paste doesn't work.
f*********d
发帖数: 46
32
来自主题: Software版 - excel 问题
太感谢了,省了我好多时间啊。
2)3)是不是我没说清楚,就是怎么在excel里格式化图片。我从别的文件里copy过来
的图片paste到excel里就自动带白
色背景和黑色的边框,而且统一在左上角的位置。
我就是想怎么能省事,全都变成没有背景和边框,而且在cell位置居中的图片。
是不是得用macro啊,感觉很深奥~

这两
下鼠
p*******y
发帖数: 133
33
Hi
I am trying to create a excel sheet to do weighted linear regression. This
sheet is intended to be shared with other ppl as a template.
I used user defined function downloaded from http://www.adamslim.com/ModellingGuides/ModellingGuidesWLR.htm. However, when I copy the excel sheet to other drive or other computer, it always report missing link and the function stopped working properly.
Can somebody help me with it?
THanks.
y****i
发帖数: 12114
34
来自主题: Software版 - 问个 excel 排序的问题 (转载)
expend the selection. excel normally gives you notice.
i feel it's a basic operation for excel users.
s********r
发帖数: 923
35
来自主题: Software版 - 怎样把EXCEL表格打印到卡片上?
怎样把EXCEL表格打印到卡片上?
请教一下,如果有一个EXCEL表格,怎样把每一行的内容打印到一张小卡片上,类似于
地址标签的样式?是不是需要通过ACCESS生成一个数据库,再通过数据库打印到一张张
卡片上?谢谢!
l******g
发帖数: 278
36
【 以下文字转载自 Programming 讨论区 】
发信人: longking (捣浆糊), 信区: Programming
标 题: excel 注册表哪个10进制数字表示黄色??
发信站: BBS 未名空间站 (Wed Nov 25 00:08:05 2015, 美东)
希望excel选中的单元格改变颜色。
只知道在HKEY_CURRENT_USERSoftwareMicrosoftOffice12.0ExcelOptions6中
用10进制度的数字16会把选中的单元格变黑色,有没有大拿知道希望变黄色或红色应该
用什么数字吗?
谢谢先!
A**********e
发帖数: 3102
37
来自主题: TeX版 - 什么软件代替excel
能。matlab 啥不能?我们组把 matlab 接上 daq 卡,连天平都可以自动控制,自动实
时计算重量。
更何况 matlab 可以镶嵌进 excel,或者直接从 matlab 里处理 excel 文件,操纵 ex
cel。
l**t
发帖数: 452
38
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: leot (leot), 信区: Programming
标 题: 请问excel的null是什么符号?
发信站: The unknown SPACE (Sat Jun 28 01:32:11 2003) WWW-POST
我要从一个MS Excel文件读数据。但是如何判断一个cell中的内容是不是null呢?
好像当这个cell的数据的format为data的时候,null表示该cell为空。
然而当该cell 的格式为其他的时候,如general,text,number...我的java程序就不认为
该cell为空。那这个时候,如何判断此cell 是否为空呢?
谢谢
l**t
发帖数: 452
39
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: leot (leot), 信区: Programming
标 题: 如何用Fortran 或者c, java读excel文件?
发信站: The unknown SPACE (Tue Jul 1 23:28:54 2003) WWW-POST
好像总是有些小地方读得不太准确.
有一批这样的文件,所以又不能用excel导出成txt.
大家有什么办法解决? thank you!!!
s**********i
发帖数: 711
40
来自主题: Windows版 - Re: excell expert, please help!!!

tools->macro->visual basic editor.
you will see on left there's something
"VBAproject(file)" where file is your
excel file name. right click on it and
choose insert->module
on right a blank page opens.
copy and paste the following to it:
sub choose_all_shapes
activesheet.shapes.selectall
end sub
now back to excel and tools->macro->macros
click on choose_all_shapes and hit run.
now all shapes in the sheet it chosen,
and you can del them all.
t******g
发帖数: 10390
41
来自主题: Windows版 - Re: excel: 怎么把 text 转成 number
如果多的话,我研究出来这个方法.
假设都在A列,在B列中写,
比如B1格里,写=0&" "&A1
然后C1列里写=value(B1)
这里利用了&连接文本.
而输入分数的时候,如果在分数前面加0 (空格)
那excel自动认成分数.
value是取值的意思.
找了半天,没找到有没有直接转换的函数.
这个马马虎虎了.
因为可以利用excel的自动填写功能,所以可以批量处理,
或者直接在B1里写=value(0&" "&A1)
B1单元格格式设置成数值 就行.
如果数据不在一列里,可以跑到另外一个sheet里做
写=value(0&" "&sheet1!$A$1)
a*****l
发帖数: 27
42
As far as I know, Excel does not have symblic integral functionality. You can
first create tiny intervals in Excel, then evaluate the function and
accumulate, I think it is called 蒙特卡罗 method.
s*****r
发帖数: 59
43
来自主题: Windows版 - excel programming
Is there any a way to search a cell content, once find a match, then return
the row number of that column? Thanks.
also, where is a good website for excel programming? any good books? Need some
education for programming in excel using VB, and how to create a macro.
thanks.
h***n
发帖数: 2
44
来自主题: Windows版 - Excel link update
Sorry if this is not the right place for a question about excel.
I need to maintain an excel workbook which contains a lot of links to other
workbooks. Since the linked workbooks change every week, I need to change all
the links accordingly. For example, a cell with formula "='[aug_28.xls]sheet1'
!A10" will be changed into "='[sep_4.xls]sheet1'!A10". I tried to do this with
Find/Replace. However, the value of the cell is updated every time the link
is changed. The link updating takes a couple of
s*********7
发帖数: 4
45
来自主题: Windows版 - Word + Excel 一问
烦死word里用excel作图了,可是还不得不用。
用excel object chart,为何每次想修改chart,双击之后图就会变得特别大,有的
时候还不能resize了。请高手指点。
b******i
发帖数: 13
46
来自主题: Windows版 - excel 数据中间有‘|’ (转载)
【 以下文字转载自 Database 讨论区 】
发信人: benkqphi (Jason), 信区: Database
标 题: excel 数据中间有‘|’
发信站: BBS 未名空间站 (Tue Apr 29 12:56:14 2008)
比如一个单元格里的数据是:6|20|13|20|4|20|14
现在要做一个平均数,想到的方法是:
把这个单元格的数据考到txt里,再把|替换为回车,考回excel,算平均
太麻烦了。。。有什么高招?
y***i
发帖数: 11639
47
来自主题: Windows版 - Excel 的Autocorrect问题请教
在Excel里键入SEP15 (一个基因名字),Excel会认成日期,自作主张的改写成15-sep,
formula bar上还记成9/15/2008,把Autocorrect所有选项都turn off也不行.google未
查到解决办法,哪位大侠知道该怎么做?多谢!
c**e
发帖数: 2558
48
来自主题: Windows版 - 问个问题,excel 作图
Format Data Series (excel 2003)
right click a line ->
Format Data Point (excel 2007)
f**********r
发帖数: 3774
49
请教一下,我收到一份excel文档,其中的中文在我的英文excel 2007上显示为乱码,
请问有什么办法可以恢复
多谢!
s*********i
发帖数: 1813
50
来自主题: Windows版 - 一个Excel的问题 (转载)
【 以下文字转载自 Software 讨论区 】
发信人: spaceniuzai (question), 信区: Software
标 题: 一个Excel的问题
发信站: BBS 未名空间站 (Tue Jun 30 17:17:29 2009, 美东)
有一个excel表格,一个3*3的range (A1:C3),想在第四列里面copy and paste这个
range里的内容,但是只要斜线上的cell,也就是说,d1=a1, d2=b2, d3=c3(如下图所
示)。有什么办法可以做到呢?多谢
a1 b1 c1 a1
a2 b2 c2 b2
a3 b3 c3 c3
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)