Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. I have Macros in Excel and I want it to run through my application in .NET

I have Macros in Excel and I want it to run through my application in .NET

Scheduled Pinned Locked Moved C#
helpcsharpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sejal123
    wrote on last edited by
    #1

    Hello All, When i tried to add reference of EXCEL 11.0 library, it appeared in list with exclamation mark and I was having its namespace but i m getting errors while using classes of namespace excel and even i have errors and warnings as listed, please help!!!: Error 1 The type or namespace name 'Excel' could not be found (are you missing a using directive or an assembly reference?)E:\RM\RunMac\RunMacro\Form1.cs Warning 1 Cannot find wrapper assembly for type library "Excel".

    sejal

    U 1 Reply Last reply
    0
    • S sejal123

      Hello All, When i tried to add reference of EXCEL 11.0 library, it appeared in list with exclamation mark and I was having its namespace but i m getting errors while using classes of namespace excel and even i have errors and warnings as listed, please help!!!: Error 1 The type or namespace name 'Excel' could not be found (are you missing a using directive or an assembly reference?)E:\RM\RunMac\RunMacro\Form1.cs Warning 1 Cannot find wrapper assembly for type library "Excel".

      sejal

      U Offline
      U Offline
      User 4467139
      wrote on last edited by
      #2

      Do you have the Microsoft office interop assemblies installed and referenced?

      S 1 Reply Last reply
      0
      • U User 4467139

        Do you have the Microsoft office interop assemblies installed and referenced?

        S Offline
        S Offline
        sejal123
        wrote on last edited by
        #3

        I havent checked it yet.. but i have MS EXCEL library 5.0 that has no problem while referencing.

        sejal

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups