Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel - Polish version - SUBTOTAL
Hi,
I am using Polish version of Excel and I would like to ask you if you have experienced the same problem in other localized version or in Polish maybe ? I need to write into the cell the formula like this: ..Cells(pr - 1, UBound(Tab35, 2) + 3) = "=SUMY.POSREDNIE(9, ") & ..Cells(pr + 2, UBound(Tab35, 2) + 3).Address & ":" & .Cells(pr + UBound(Tab35, 1), UBound(Tab35, 2) + 3).Address & ")" SUMY.POSREDNIE means SUBTOTAL in English After macro is executed I have an error message "#NAZWA?" (#NAME?). In VBA code I need to use "," after 9 but in sheet I use ";". The funny thing is that when I click on the cell end hit enter in the formula everything is OK and it works properly. Thanks for your help in advance. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel - Polish version - SUBTOTAL
..Cells(pr - 1, UBound(Tab35, 2) + 3).FormulaLocal = "SUMY.POSREDNIE..."
HTH -- AP a écrit dans le message de news: ... Hi, I am using Polish version of Excel and I would like to ask you if you have experienced the same problem in other localized version or in Polish maybe ? I need to write into the cell the formula like this: .Cells(pr - 1, UBound(Tab35, 2) + 3) = "=SUMY.POSREDNIE(9, ") & .Cells(pr + 2, UBound(Tab35, 2) + 3).Address & ":" & .Cells(pr + UBound(Tab35, 1), UBound(Tab35, 2) + 3).Address & ")" SUMY.POSREDNIE means SUBTOTAL in English After macro is executed I have an error message "#NAZWA?" (#NAME?). In VBA code I need to use "," after 9 but in sheet I use ";". The funny thing is that when I click on the cell end hit enter in the formula everything is OK and it works properly. Thanks for your help in advance. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel - Polish version - SUBTOTAL
Use SUBTOTAL, not SUMY.PSREDNE. VBA works in English, but Excel will do the
translation for you. -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) wrote in message oups.com... Hi, I am using Polish version of Excel and I would like to ask you if you have experienced the same problem in other localized version or in Polish maybe ? I need to write into the cell the formula like this: .Cells(pr - 1, UBound(Tab35, 2) + 3) = "=SUMY.POSREDNIE(9, ") & .Cells(pr + 2, UBound(Tab35, 2) + 3).Address & ":" & .Cells(pr + UBound(Tab35, 1), UBound(Tab35, 2) + 3).Address & ")" SUMY.POSREDNIE means SUBTOTAL in English After macro is executed I have an error message "#NAZWA?" (#NAME?). In VBA code I need to use "," after 9 but in sheet I use ";". The funny thing is that when I click on the cell end hit enter in the formula everything is OK and it works properly. Thanks for your help in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I save an Excel 97-2003 version or 2007 version for Mac 200 | Excel Discussion (Misc queries) | |||
Networkdays function is not working between Danish and a Polish PC | Excel Discussion (Misc queries) | |||
Polish my code, please | Excel Programming | |||
Why do the cells I am custom formatting save in special, polish | Excel Worksheet Functions | |||
Recover earlier version of excel sheet after new version saved? | Excel Discussion (Misc queries) |