Results 1 to 2 of 2

Thread: Check whether Macros or enable or not.

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2008
    Posts
    2

    Smile Check whether Macros or enable or not.

    I am workng .net2.0 projects. Here i need to download an excel in which i have written some macros and i will upload it back.
    But if suppose the macros are disabled then the the macros written my code doesn't work and the page where i upload the excel crashes.
    So i want to check on the upload page itself that whether macros or enable or not and fire a message saying the user to enable the macros.

    Plesae guide me how to find out in ASP.net 2.0 whether macros or enabled or not??

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Check whether Macros or enable or not.

    Note entirely sure what you mean - do you need to simply display a message to the user to enable macros (which would be easier) or do you need to detect whether the user has macros enabled or not or do you need to check if an excel file contains macros?

    Because if it is exactly as the title says, then you can't detect if macros have been enabled or not. You will need to ask the user to enable it in a static message.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width