是德科技
直播中

李秀云

8年用户 815经验值
私信 关注
[问答]

vrf Excel问题

理查德,我没有看到附件,但我最近看到了这个问题。
将范围更改为相反的形状(列似乎与1D数组一起使用)或将数据转换为2D数组(x乘1)并尝试。
对于后者,如果它仍然不起作用尝试通过'transpose'函数放置数组。希望有帮助.Mike WattsMessage文本由INTERNET写:RWalker@GeneralMicrowave.com> Vee用户,我试图记录51个VNA数据点
到了incel中的列。附加文件的问题是数组中的第一个点被写入所有51个单元.OS:Windows 2000Vee 6.01Office 97感谢任何帮助.Richard A. WalkerHerley - FARMingdale425 Smith StreetFarmingdale,NY 11735-1198Direct Voice:
(631)630-2086主音:(631)630-2000 X286传真:(631)630-2066mailto:RWalker@GeneralMicrowave.com---您目前订阅vrf为:r***@soco.agilent.com要订阅发送空白
发送电子邮件至“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此邮件列表发送邮件,请发送电子邮件至
vrf@it.lists.it.agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。

以上来自于谷歌翻译


     以下为原文

  Richard,
        I did not see an attachment but I have seen this problem recently.
Either change your range to the opposite shape ( a column seems to work
with a 1D array ) or make your data into a 2D array ( x by 1 ) and try
that.  For the latter, if it still does not work try to put the array
through the 'transpose' function.

Hope that helps.

Mike Watts

Message text written by INTERNET:RWalker@GeneralMicrowave.com
>Vee Users,
                I am trying to log 51 VNA data points into columns in
Excel.
The problem with the atttached file is that the first point in the array is
written into all 51 cells.

OS: Windows 2000
Vee 6.01
Office 97

Thanks for any help.

Richard A. Walker
Herley - Farmingdale
425 Smith Street
Farmingdale, N.Y. 11735-1198
Direct Voice: (631) 630-2086
Main Voice: (631) 630-2000 X286
Fax: (631) 630-2066
mailto: RWalker@GeneralMicrowave.com<


---
You are currently subscribed to vrf as: r***@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com".  
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

回帖(8)

李秀云

2018-9-6 10:37:41
>任何人都知道发送excel的简单方法>命令来保存当前文件.Save()是Workbook类的一种方法。
如果您没有给出文件名(即,如果您没有首先打开文件),请使用SaveAs(文件名)以避免Excel SaveAs文件名对话框。设置wbk = CreateObject(“Excel.Sheet”)
; //写一些data.wbk.SaveAs(“MyFile.xls”); - SHAWN ----您目前订阅的是vrf:r***@soco.agilent.com要订阅,请发送电子邮件至:“vrf-request
@ lists.it.agilent.com“在邮件正文中带有订阅单词。要取消订阅,请发送一封空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要发送邮件到此邮件列表,请发送电子邮件
“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  > Anyone know of an easy way to send excel a
>  command to save the current file.

Save() is a method of the Workbook class. If you haven't given a file name
(i.e., if you didn't open the file in the first place), use SaveAs(filename)
to avoid the Excel SaveAs filename dialog.

Set wbk = CreateObject("Excel.Sheet");
//Write some data.
wbk.SaveAs("MyFile.xls");
-SHAWN-


---
You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
举报

蒲泛粟

2018-9-6 10:49:56
大家好....这里的菜鸟。
任何人都知道一种简单的方法来发送excel命令来保存当前文件。
我已将所有想要捕获的数据放在正确的单元格中,但我无法弄清楚如何告诉它保存当前文件。
理想情况下,我不会看到excel的任何部分,它将保存为默认文件名.BTW我使用Vee 7.0 Ty,JH ---您目前订阅vrf为:r***@soco.agilent.com要订阅,请发送电子邮件
to:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。发送邮件
在此邮件列表中,请发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  Hi all....noob here. Anyone know of an easy way to send excel a
command to save the current file. I've placed all of the data that I
want to capture in the right cells, but I can not figure out how to
tell it to save the current file. Ideally I will not see any part of
excel and it will save as a default filename.

BTW I am using Vee 7.0

Ty,

  JH

---
You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
举报

李秀云

2018-9-6 10:59:36
>我的目标是不要看到excel,所以我该如何避免这种情况?wbk.Application.DisplayAlerts = False; -SHAWN- ---您目前订阅的是vrf:r***@soco.agilent.com要订阅,请发送一个
发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含“订阅”字样。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。发送
发送到此邮件列表的邮件,请发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  > I aim not to see excel at all so how
> do I avoid this?

wbk.Application.DisplayAlerts = False;
-SHAWN-


---
You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
举报

蒲泛粟

2018-9-6 11:19:08
K效果很好,但是如果我再次运行程序,它会提示我覆盖这个文件。
我的目标是不要看到excel,所以我该如何避免这种情况?
/ y?ty再次-----原始消息-----来自:Shawn Fessenden致:***izkitawg@netscape.net;
'VRF'发送:星期四,2006年7月13日18:16:48 -0500主题:RE:[vrf] Excel问题>任何人都知道一种简单的方法来发送excel a>命令来保存当前文件.Save()是一种方法
工作簿类。
如果您没有给出文件名(即,如果您没有首先打开文件),请使用SaveAs(文件名)以避免Excel SaveAs文件名对话框。设置wbk = CreateObject(“Excel.Sheet”)
; //写一些data.wbk.SaveAs(“MyFile.xls”); - SHAWN- ---您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送电子邮件至:“vrf-request
@ lists.it.agilent.com“在邮件正文中带有订阅单词。要取消订阅,请发送一封空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要发送邮件到此邮件列表,请发送电子邮件
“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  K works great, but if I run the program again it prompts me about
overwriting this file.  I aim not to see excel at all so how do I avoid
this?  /y ?

ty again

-----Original Message-----
From: Shawn Fessenden
To: [email=***izkitawg@netscape.net]***izkitawg@netscape.net[/email]; 'VRF'
Sent: Thu, 13 Jul 2006 18:16:48 -0500
Subject: RE: [vrf] Excel Problem

  > Anyone know of an easy way to send excel a
>  command to save the current file.

Save() is a method of the Workbook class. If you haven't given a file
name
(i.e., if you didn't open the file in the first place), use
SaveAs(filename)
to avoid the Excel SaveAs filename dialog.

Set wbk = CreateObject("Excel.Sheet");
//Write some data.
wbk.SaveAs("MyFile.xls");
-SHAWN-


  

---
You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
举报

更多回帖

发帖
×
20
完善资料,
赚取积分