+ Reply to Thread
Results 1 to 7 of 7

Email Workbook macro not working with Windows 7

  1. #1
    Registered User
    Join Date
    01-06-2012
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 2010, Excel 365
    Posts
    47

    Exclamation Email Workbook macro not working with Windows 7

    I have the following code:

    Please Login or Register  to view this content.
    The code first saves the workbook to the user's desktop then starts an email (via Outlook) with the workbook attached. It seems that this code works perfectly with Windows XP, but doesn't work with Windows 7 - any ideas on how to fix this?

    Edit Post 7-19-12 3:19pm:
    I should mention that in Windows 7 the macro will save the workbook to the desktop, start an email, but it doesn't attach the workbook to the email.
    Last edited by Lewej23; 08-03-2012 at 01:46 PM.

  2. #2
    Forum Contributor
    Join Date
    05-25-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    194

    Re: Email Workbook macro not working with Windows 7

    Windows 7 has a ton of security related preventions. Not sure if this will solve it, but have you tried running the process as admin?

  3. #3
    Registered User
    Join Date
    01-06-2012
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 2010, Excel 365
    Posts
    47

    Re: Email Workbook macro not working with Windows 7

    I'm not sure if I'm understanding you right - but are you saying to log out of the computer then log back in as admin and then trying it?
    If you are, unfortunately that's not possible - the computers we use are owned by a company and only our Help Desk has admin capabilities...

  4. #4
    Forum Contributor
    Join Date
    05-25-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    194

    Re: Email Workbook macro not working with Windows 7

    Oh ok, so the macro actually initially runs, but has an issue attaching to the email? Did you also happen to upgrade versions for Excel/Outlook? There are some modifications you may have to make to your code between 2010 and older versions of code.

  5. #5
    Registered User
    Join Date
    01-06-2012
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 2010, Excel 365
    Posts
    47

    Re: Email Workbook macro not working with Windows 7

    The person that's been testing it in Windwos 7 has Office 2010. I also have Office 2010, but I'm working in Windows XP.

  6. #6
    Registered User
    Join Date
    01-06-2012
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 2010, Excel 365
    Posts
    47

    Exclamation Re: Email Workbook macro not working with Windows 7

    This problem still persists... anyone have any solutions???

  7. #7
    Registered User
    Join Date
    01-06-2012
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 2010, Excel 365
    Posts
    47

    Re: Email Workbook macro not working with Windows 7

    Ok everyone.... after 2 months of trying to figure this out, I finally got it! Here's the code I'm using if anyone needs it:

    Please Login or Register  to view this content.
    I've tested this in both Windows XP/Office 2010 and Windows 7/Office 2010 and both have worked. I'm assuming this will work with Office 2007, but I haven't had a chance to test it out, yet.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1