+ Reply to Thread
Results 1 to 3 of 3

Excel VBA not working after upgrading to Windows 10 from Windows 7

  1. #1
    Registered User
    Join Date
    08-12-2015
    Location
    London, England
    MS-Off Ver
    10
    Posts
    2

    Excel VBA not working after upgrading to Windows 10 from Windows 7

    Hi

    I've been searching the Microsoft forums but have found nothing for my particular issue.

    I'm running Office 10 x32 on Windows 10 x64. I got the free Windows 10 upgrade from Windows 7 a few days ago.

    I've started a new excel workbook and found my code is not being triggered as I'd expect. At first I thought my code was wrong but the odd thing is that my code will run once and then stop and won't run again unless I close the workbook and re-open. And then it will only run once until I close and reopen... the cycle continue.

    The upshot is that whatever I write is useless even if it's correct because it plays once only... and even if my code has errors, they are untestable because after one iteration, I can't go into again to test the various "If Then" scenarios.

    As a test I typed the following simple code. And NOTHING happened. It worked only after I saved the book and reopened it. But as soon as I flicked worksheets and came back to it, it stopped working.

    Please Login or Register  to view this content.

    Has this happened to anyone else? Is there a solution?
    Last edited by alansidman; 08-12-2015 at 04:20 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,859

    Re: Excel VBA not working after upgrading to Windows 10 from Windows 7

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)

    I tested your code on my Win 10 machine (Office 2013-32 bit) and was unable to replicate your issue. Your code works for me. I am on a 64 bit machine also.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    08-12-2015
    Location
    London, England
    MS-Off Ver
    10
    Posts
    2

    Re: Excel VBA not working after upgrading to Windows 10 from Windows 7

    Thanks Alan, sorry for the goof!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Command Buttons have stopped working in Windows 7 and Windows 8.1
    By Epscan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-10-2014, 02:10 PM
  2. Replies: 1
    Last Post: 06-23-2014, 05:06 PM
  3. VBA code Error after changed to windows 7, working fine in windows XP before
    By Faridwahidi in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-11-2014, 06:23 AM
  4. [SOLVED] Enable / Disable Macros behaving differently in Excel 2003 from Windows XP to Windows 7
    By TC1980 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-21-2013, 09:09 AM
  5. Macros created in Windows XP not opening /working in Windows 7
    By Janane in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-18-2012, 04:28 AM
  6. Replies: 0
    Last Post: 11-28-2009, 01:28 AM

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