Macro runs quicker in excel 2010 than excel 2014?

I have a package I developed with numerious macros and pivot tables.
When i open it, it performs some actions using an "open workbook" macro- all the code, tables etc were created using excel 2010- but when i open it using excel 2014 it is considerably slower- are there known differences in the conctruction
of VB code or refreshing of pivot tables that could cause this.
Anyone else experienced this?
Thanks
David

Peter
I have a number of pivot tables that use the same sheet as their source- I can get one pivottable to refresh using code below- but if I have 2 pivots on different sheets (both being protected) it won't work as it looks for all sheets to be unprotected
first- is there some change to the code to enablePivotTables on all sheets and refresh all pivots at same time (ThisWorkbook.RefreshAll)
Thanks
D
Sheets("sheet2").Protect Password:="xyz", UserInterfaceOnly:=True
Sheets("sheet2").Select
ActiveSheet.EnablePivotTable = True
ActiveSheet.PivotTables(1).RefreshTable

Similar Messages

  • Group/Ungroup outline & Run macro automatically once open excel templates

    Hi all,
    Would need your advise for the following queries.
    1. May we have a protected sheets with Group/Ungrouped features?
    2. Is there a way to auto-run the macro once we open excel template?
    Looking forward to hear from you all! Thank you very much!

    Hi Tim,
    Thanks for your feedback! I did tried this before, but it remain the same. Please look at the code as below. I'm looking something that can execute the macro once open up the workbook,like  "Call onFileOpenMacro".
    Private Sub Workbook_Open()
        With Sheet1
           .Protect Password:="Secret", userinterfaceonly:=True
           .EnableOutlining = True
        End With
        'Call onFileOpenMacro
    End Sub
    Please advise.
    Thank you!

  • Are excel-macros running on IPad?

    Instead of carrying my laptop, i would like to use an iPad.
    I am using excel sheets with integrated macros.
    Are these macros running on the iPad?
    If yes, which app i have to use?
    Thank you for your help
    Chris

    I've not seen any of the apps that can import Excel documents that can handle Excel macros, though it's possible I might have missed something. I rather doubt it, though, since macros depend on Microsoft's proprietary Visual Basic.
    Regards.

  • Can BPC Release 7.5.112.07 run on MicroSoft Excel 2013 (MS Office 365)?

    Hi BPC Community,
    Can BPC Release 7.5.112.07 run on MicroSoft Excel 2013? We are currently running BPC on Excel 2010. There's a new feature in Office 365, that when we bring up a new BPC report, Excel will open up essentially a new Excel application and the BPC add-in is not replicated in the new Excel application.
    Our IT team mentioned updating registries to prevent a new Excel app for generating, but they said that this approach may revert (erase the reg update) once a new software update is done.
    Thanks. Barry

    Hi Barry,
    Microsoft Office 2013 is supported in BPC 10 sp13 and EPM Add-in sp14, support for BPC 7.5 will end on march 2016 so I don't think they will support it in 7.5 version also in future.
    Forgot to add, same for office 365 not supported in 7.5 but only in 10 version with epm sp18 see please  1999305 - Microsoft Office 365 users are unable to install SAP EPM Add-in
    Regards
         Roberto

  • Longer running export to Excel after BW7.3 upgrade & HANA migration

    Experts -- I'm curious if anyone has encountered issues with longer running exports to excel from Web Analyzer after they upgraded to BW 7.3 and/or migrated to BW HANA?
    We have encountered a very elusive issue with our users running into this issue where the export either hangs or returns a series of error messages.   OSS has not been of help as the issue is unable to be consistently reproduced.
    If you have any thoughts or ideas please feel free to contribute.
    Thanks
    Justin

    Hey Sebastien -  Thank you for the response.  I work with Justin and can provide the additional information here:
    By export what we mean is that users running BEx reports from our web portal are clicking on the 'Export to Excel' button and it is taking an extremely long time.  This is happening even when the report result set is relatively small.   We never had any issue prior to the upgrade.
    There have been a few error messages reported, but this "Open Dialog" error is the most frequent.
    We are very familiar with the 500,000 cell limit and these error are taking place on report output well below that limitation. 
    These reports do not use hierarchies. 
    Prior to 7.3 we were using  7.0 EP1  SP7
    We appreciate any help or suggestions. 
    Thank you

  • Does possible always to run application "Microsoft Excel" using applescript?

    Does possible always to run application "Microsoft Excel" using applescript (as application startup script) like this "tell application "Microsoft Excel"
    set bounds of window 1 to {0, 22, 1440, 2360}
    end tell"?

    Any ideas/solutions about possibility always to run application "Microsoft Excel" with applescript?

  • How to make SAP Script/Macro run in background like xl macros

    Hi,
    I have a recorded sap script to run, but I can see all  the steps visible in the screen. Is there a  solution in SAP to set displayalerts or screenupdate as false like excel. I do not want the viewers to see the macro running in all steps. I tried iconify, but it works only for main screen, the child screen are still visible. Please help.
    Thanks
    Mercy

    Hello.
    In my knowledge there is no Option from SAP GUI Scripting.
    When you run this from VBA you can use USER32-API function
    Public Declare Function LockWindowUpdate Lib "user32" _
      (ByVal hwndLock As Long) As Long
    Call function via public Sub:
    Public Sub DisableScreenUpdating(xhWnd&)
      If xhWnd <> 0 Then LockWindowUpdate xhWnd
    End Sub
    Public Sub EnableScreenUpdating()
      LockWindowUpdate 0&
    End Sub
    And call this whenever you have a new handle during your script:
            Session.FindById("wnd[0]/usr/btn%_STAE1_%_APP_%-VALU_PUSH").Press
            DisableScreenUpdating Session.FindById("wnd[1]").Handle
            Session.FindById("wnd[1]/usr/tabsTAB_STRIP/tabpSIVA/ssubSCREEN_HEADER:SAPLALDB:3010/tblSAPLALDBSINGLE/ctxtRSCSEL_255-SLOW_I[1,0]").Text = "DLFL"
            Session.FindById("wnd[1]/usr/tabsTAB_STRIP/tabpSIVA/ssubSCREEN_HEADER:SAPLALDB:3010/tblSAPLALDBSINGLE/ctxtRSCSEL_255-SLOW_I[1,1]").Text = "INAC"
            Session.FindById("wnd[1]/tbar[0]/btn[8]").Press
            DisableScreenUpdating Session.FindById("wnd[0]").Handle
            Session.FindById("wnd[0]/usr/btn%_STRNO_%_APP_%-VALU_PUSH").Press
            DisableScreenUpdating Session.FindById("wnd[1]").Handle
            Session.FindById("wnd[1]/tbar[0]/btn[24]").Press
            Session.FindById("wnd[1]/tbar[0]/btn[8]").Press
    When your script is completed call
    EnableScreenUpdating
    Of course People can get nervous at it seems like nothing happen. May they kill this session as they think it´s crashed.
    Hope this help.
    Br, Holger

  • CS5 Design Premium: Will it run faster in Snow Leopard than Lepoard?

    I was wondering If CS5 PS will run more quickly in Snow Leopard than it does in Leopards?  Is the difference noticeable?

    Yes, it can run faster in Snow Leopard, especially in 64 bit.

  • NI-LabVIEW run-time engine interop 2010 failed to install

    Hi,
    While installing Labview 2010 (32 bit) I got an error message:
    NI-LabVIEW run-time engine interop 2010 installation has failed with the following error:
    Error 1935. .... (see the .ppt for screenshot if interested)... HRESULT 0x8002802F
    I googled HRESULT 0x8002802F and found a page that said that this error is usually b/c of a missing/corrupt entry in the registry: file %windir%\system32\mscoree.dll, and that "repairing the highest version of the .NET Framework on the system will correct any problems resulting from this error."
    I have verified that mscoree.dll is not present, and I don't have the .NET Framework installed on my system. SO, I have the following questions:
    1) do you concur with the advice given on the page referenced re: the reason for the error;
    2) If so, should I install .NET Framework, and what do I then need to do in LabVIEW to tell it that the .dll is now present?
    3) If your opinion is other, what do you advise?
    Cheers
    Attachments:
    Labview Installation error.ppt ‏227 KB

    Hi Luke, 
    After doing some research, there are two possible solutions.  
    1) According to a KB, it could be your antivirus. You may want to try to turn off any spyware blocking software such as Ad-Aware, Norton, etc and try the installation again. 
    2) Another customer had the same error, and they got it working by installing .NET 3.5 from Microsoft's website and then installing LabVIEW again.
    Hope one of those options work for you!

  • Error while running Quick Pay

    Hi Friends,
    I am trying to run Quick Pay for an employee. I have put the dates and then saved it. Now when I click the Start Run button nothing happens. I click on the Override Payment method field and see this error
    "APP-PAY-07263: Choose a Quick Pay run. Query a QuickPay process with a status of Complete before trying to define or process a QuickPay Pre-payment."
    This is the first time I am running the Quick Pay for the person. Infact this is a new hire I just created and trying to run the QuickPay process.
    Can someone please help.
    Thanks
    Shekar.

    First run only the quick pay. after that you will see start pre-payments button enabled. Then select the override payment method and run the pre-payment process.

  • My 24" iMac seems to gets the spinning colored ball a lot, seems it is running slow a lot more than it did before any suggestion?

    My 24” iMac seems to gets the spinning colored ball a lot, seems it is running slow a lot more than it did before any suggestion?

    Open Activity Monitor in Applications>Utilities, select All Processes & sort on CPU%, any indications there?
    How much RAM & free space do you have also, click on the Memory & Disk Usage Tabs.
    In the Memory tab, are there a lot of Pageouts?

  • How to Setup a JSP to Run on Different Physical Location than OC4J Defaul

    I am trying to setup a development environment for jsp application development in Oracle 9ias Release 2 for a development group. I followed the steps outlined in NOTe:167960.1 using both EM Website (creating a OC4J and editing server.xml and defau*.xml files) and DCMCTL (Doc ID: 185635.1) utility. OC4J app is coming up only partially which does not work.
    Is this possible to "Setup a JSP to Run on Different Physical Location than OC4J Default Home" in Oracle 9ias Release 2 ?
    Appreciate insight
    Thanks
    Subu

    I was finally able to get it up and running... I commented out all the apple specific lines in smb.conf until I was able to successfully finish the driver copy process via the Windows driver wizard. The line in the /etc/smb.conf which was causing this weird problem was:
         vfs objects = notify_kqueue,darwinacl,darwin_streams
    I have no idea what this line is about. However after commenting it out the driver installation immediately started to work. I cross checked it by adding the line again and viola the problem was back - so it can be broken down to this line...
    As I've found some other comments to this line in the internet I guess I will go for the smb.conf changes described in this article:
    http://blog.djmnet.org/2009/02/09/macs-needing-unix-network-geekery/
    Cheers
    jogi4mac

  • I don't know what i need. I'am a mac user but i need to run quick books premier. This is the only software i need in windows 7. Could i have some advise in  what is better for me, Bootcamp or parallels

    I don't know what i need. I'am a mac user but i need to run quick books premier. This is the only software i need in windows . Could i have some advise in  what is better for me, Bootcamp or Parallels

    The Intuit rep said they don't "support" QuickbooksPremier on a "virtual machine." Do you know what I risk by using it, anyway? thanks for the advice about Boot Camp vs Parallels, BTW!
    I use QuickBooks Pro for Mac, so I haven't had need to try any of the Windows versions in a VM. But I can't think why it wouldn't work. From within the VM, QuickBooks Premier would believe it is operating on PC hardware within Windows.
    I would guess they mean that the multiple user support wouldn't work from within the VM. But I would think that would also work. Windows can see the Internet from within the VM, which means it can see your network. So if Windows can see the network, then QB Premier should be able to, too.
    I know you can get Parallels as a demo, and maybe you could get QB Premier as trial software. So if you already have a retail copy of Windows to load into a VM, it would only cost you time to test what's possible.

  • Can't run quick time player on google chrome

    can't run quick time player on google chrome

    Hi aj243,
    I haven't been able to view quicktime videos lately in Chrome either.  I get the error message "quicktime plug in 7.7.1 has crashed".  Were you ever able to fix this problem?
    Susan

  • Can i change imported RGB colours to specified CMYK colours quickly in Indesign rather than doing ea

    Can i change imported RGB colours from a word doc to specified CMYK (already in the swatch panel) colours quickly in Indesign rather than doing each one manually?
    Is there a script so you can allocate rgb colours to cmyk colours?

    oh yeah, I see... You definitely need a script, so you better post this request in script forum. Since it quite scriptable (I believe), you need to know exactly (tell to the script) what colors to find and change to what. So it would work only on the specific pre-defined list of colors. I'm using something very similar regarding the fonts (I get regularly files where I need to change bunch of fonts to their alternatives). Not sure if it's possible to modify it for colors - I see some essential differences here. I'm not a scripter...

Maybe you are looking for

  • HT4591 how can I change sign in info.

    Have submitted incorrect original info and am unable to update apps now. I want to do this without changing original account settings. This applies to Motion and ArtStudio.

  • Customer service phone number not working

    Hi Blackberry, I just got my new Passport out of it's box.  I am having an issue that is not addressed in the forum.  in the box, it says I get 30 days complimentary direct support from Blackberry. I therefore called the phone number given in the box

  • CALL FUNCTION 'RFC_REMOTE_PIPE' throwin exception ''1''

    Hi Sapients, I am using CALL FUNCTION 'RFC_REMOTE_PIPE' to rename a file at the UNIX level..Though this runs well... sometimes this is giving an exception as ''1'' (System Failure).. if we execute the same after 3  or 4 hours this RFC is again succes

  • Keyboard backlight not working like it used to

    For some reason my keyboard will not let me manually adjust the back light. I tried unselecting the "illuminate in low light" in settings- but that doesn't help. And when I go back into preferences it shows as being selected again. How do I override

  • Help! I can't add Photos to Projects

    Hi! I have been trying to add a photo from my desktop to a project in imovie. It worked perfectly 1 day ago (same project). I tried dragging it and I saw this green line and added it. I could see the thumbpic but when I clicked on it it was black or