Macros in Excel

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?c2hyZWU=?=

    #1

    Macros in Excel

    I read an Excel workbook from C# code and want to know whether there
    exist a macro in it or not. Can someone give me pointer how can I find
    it.

    THanks,
    Shrish
  • Peter Duniho

    #2
    Re: Macros in Excel

    On Sun, 16 Nov 2008 22:35:00 -0800, shree
    <shree@discussi ons.microsoft.c omwrote:
    I read an Excel workbook from C# code and want to know whether there
    exist a macro in it or not. Can someone give me pointer how can I find
    it.
    You really ought to be posting to a newsgroup where you might expect to
    find some expertise with respect to Office/Excel interop. This newsgroup
    isn't it. That said, I'd guess that the Excel interop class exposes a
    list of Modules in the Workbook, and so that would be a way to discover
    VBA modules (e.g. macros) in the workbook. For XLM macros, you'd want to
    look for an XLM worksheet.

    If that's not enough to get you pointed in the right direction, you really
    should find a better forum. You're unlikely to get anything except vague
    answers here.

    Pete

    Comment

    • Jeff Johnson

      #3
      Re: Macros in Excel

      "Peter Duniho" <NpOeStPeAdM@nn owslpianmk.comw rote in message
      news:op.ukq3xyh c8jd0ej@petes-computer.local. ..
      If that's not enough to get you pointed in the right direction, you really
      should find a better forum. You're unlikely to get anything except vague
      answers here.
      I recommend microsoft.publi c.excel.program ming.


      Comment

      Working...