2016년 7월 6일 수요일

Fast Solution to Error: Application.WorksheetFunction.SumIfs is no longer working

Application.WorksheetFunction.SumIfs is no longer working

I have some code that ran the last time I was in a workbook, but no longer runs.  The error message I get is:
 
"Unable to get the SumIfs property of the Worksheet Function Class"
 
If I change the function to some other function like SumIf, or cosh, the application.workbookfunction works okay.  This ran without issue the last time I ran it.  The specific code line is:
 
                    rsrcValue.Cells(lngX, intCol).Value = ThisWorkbook.Application.WorksheetFunction.SumIfs( _
                    arg1:=rHL, arg2:=rC, arg3:=strC, arg4:=rMAOP, arg5:=strMAOP1) + _
                    ThisWorkbook.Application.WorksheetFunction.SumIfs(arg1:=rHL, arg2:=rC, arg3:=strC, _
                    arg4:=rMAOP, arg5:=strMAOP2)
I have also tried this (with srcWB as a workbook objecr being passed to the subroutine
 
                    rsrcValue.Cells(lngX, intCol).Value = srcWB.Application.WorksheetFunction.SumIfs( _
                    arg1:=rHL, arg2:=rC, arg3:=strC, arg4:=rMAOP, arg5:=strMAOP1) + _
                    srcWB.Application.WorksheetFunction.SumIfs(arg1:=rHL, arg2:=rC, arg3:=strC, _
                    arg4:=rMAOP, arg5:=strMAOP2)
 
I am running in Excel 2007.  I can't think of any changes I made since last running the code that would have changed the way this runs.

Anwsers to the Problem Application.WorksheetFunction.SumIfs is no longer working

Download Error Fixer for Free Now

Take a look at the way you've defined these ranges:
Set rC = destWS.Range("O" & lngC, "O" & lngD)  ' Segmentation sheet Class Column
Set rHL = destWS.Range("EK:EK")   ' Segmentation sheet HCA Length
This is one of your sumif's formulas
 
Application.SumIfs( _
                    arg1:=rHL, arg2:=rC, arg3:=strC, arg4:=rMAOP, arg5:=strMAOP1) + _
                    Application.SumIfs(arg1:=rHL, arg2:=rC, arg3:=strC, _
                    arg4:=rMAOP, arg5:=strMAOP2)
If you look at your range definitions, they need to be the same length to work in the SUMIFS.  Some are entire columns and some are partial columns.   Fix that and let us know if it helps.

  • Download the Microsoft Windows ISO (installation device) from the following website:
  • http://www.microsoft.com/en-us/software-download/windows10
  • Users must select the appropriate ISO, either 32 bit or 64 bit, depending upon their individual computer.
  • Extract the ISO file to a separate USB device or burn the program to a compact disc.
  • Run the Microsoft Windows 10 upgrade directly from the software that you have thus created.

Recommended Method to Fix the Problem: Application.WorksheetFunction.SumIfs is no longer working:

How to Fix Application.WorksheetFunction.SumIfs is no longer working with SmartPCFixer?

1. You can Download SmartPCFixer here. Install it on your system. When you open SmartPCFixer, it will perform a scan.

2. After the scan is done, you can see the errors and problems which need to be fixed.

3. The Fixing part is finished, the speed of your computer will be much higher than before and the errors have been fixed.


Related: error message fsui.exe/ wlidcli.dll is missing
,Solution to Error: Excel: Automatic number generation
,Troubleshoot:i wanna change language of all windows in Windows 7 Home Premium
,Troubleshooting:IF Function, if the vendor ID in column A matches any of the vendor ID's in column F, I want 1099 to appear in column D. Error
,Fast Solution to Problem: ReadyBoost is not working properly in my computer
,Troubleshoot:Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive. Error,External Hard Drive not listed in Windows 7 backup wizard Tech Support,Tech Support: I'm always being signed off so annoying,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.,Referencing data in Access using Excel [Anwsered],Need Best Way To Present Data [Anwsered],Same question but for windows 7 home edition,sometimes fullscreen won't activate [Solved],Solution to Error: We bought a new computer with windows 7 and it is constantly freezing. How do we fix this?,Solution to Error: Windows 8 update crash (2013-07-22),brclr.dll.mu_ Missing Error Fixer,How To Resolve Missing fin_myagtui.eng Problem,Corrupted f_0006ad File - How to Fix,nkebigvg.cpl Not Found Error Fixer,Corrupted olcontrols.ocx File - How to Fix
Read More: Fast Solution to Problem: Any fix for WinSxS folder size in the offing?,Troubleshoot:Apps and PC Setting do not work after upgrading to Windows 8.1 Error,An unhandled exception - Error 0x1A88 [Solved],APA 6th Edition in Word references [Solved],Alpha\/Numeric formula,After Windows Update CD/DVD drive does not work,After installing windows 7 to laptop the labels print out of line how can I fix it,After my computer sleeps the wireless always disconnects and will no reconnect,After signing into Pogo.com, I get a message" This tab has been recovered"....what does this mean and how do I fix it.....,All desktop icons changed to windows live and does not open

댓글 없음:

댓글 쓰기