如何阅读Excel标题栏 [英] How to read the Excel title bar

查看:116
本文介绍了如何阅读Excel标题栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好b $ b

任何人都知道如何阅读Microsoft Excel中的标题栏?

这是位于顶部中心的位置,显示当前的名称打开文件名。





我们有一个excel应用程序,它将其状态报告给标题栏,我需要读取该字符串以便发布处理。



谢谢

Hi
Anyone know how to read the title bar in Microsoft Excel?
That's the bit at the top centre that displays the name of the currently open file name.


We have an excel app which reports its status to the title bar and I need to read that string for post processing.

thanks

推荐答案

这很简单。



看看这里:如何从Visual Basic .NET自动化Microsoft Excel [ ^ ]



步骤要做的事情:

It's quite simple.

Have a look here: How to automate Microsoft Excel from Visual Basic .NET[^]

Steps to do:


  1. 使用 GetObject [ ^ ]功能
  2. 获取 ActiveWorkbook 的名称[ ^ ]

  1. Get an instance of Excel using GetObject[^] function
  2. Get the name of ActiveWorkbook[^]


这篇关于如何阅读Excel标题栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆