Results 1 to 5 of 5

Thread: Outlook 2007, VB or VBA?

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    11

    Outlook 2007, VB or VBA?

    Hey all,

    I have been digging around the internet and can't really find an answer.

    VBA is dead, well at least MS is not developing it any further. I hear some chat that VBA scripts will not work in outlook 2007.

    Currently the company I work for is using outlook 2000 with about 1k lines of vba code, and we are at the point of upgrading to 2007, or 2010 if it is available when we upgrade.

    Is the VBA script going to work for the macro's?(essentially it is for our inhouse CRM, capture emails and insert into a database.)

    Even if it does work, would this be a good opportunity to push for an upgrade, did I hear that straight up VB9 can be used in macro creation now?

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Outlook 2007, VB or VBA?

    Thread moved from "Other BASIC" forum to "Office Development" forum

    I have written some VBA macros in Outlook 2007, but as they weren't upgraded from Outlook 2000 I don't know what changes there are - I presume there will be some, most likely based around interacting with things like folders/messages.

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Outlook 2007, VB or VBA?

    The number one change that will affect you is the inclusion of increased security on accessing properties of certain objects.

    Outlooks Security Prompt

    Now to contridict that is that in 2007 MS has relaxed the amount of security prompting etc only if you are running an Anti-virus program. If you are not then all the security wil apply.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    11

    Re: Outlook 2007, VB or VBA?

    Thanks for the answers, I guess what i will have to do is just drop our vba scripts into 2007 and just see what happens, if it's messy enough I will just re-write using vb9, which I would rather do anyway.

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Outlook 2007, VB or VBA?

    check my FAQ (link in signature) for how to with .net.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

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