Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Problem with English formula in Swedish installation


Hello,

I cannot get this VBA line to work on my Swedish installation of exce
2003.

ActiveWorkBook.Names.Add _
Name:="Lables", _
RefersTo:="=OFFSET(INDIRECT(" & Chr(34) & xlSheet.Name & "!J2" & _
Chr(34) & "),0,0,COUNTIF(INDIRECT(" & Chr(34) & xlSheet.Name & "!I:I"
_
Chr(34) & ")," & Chr(34) & "0" & Chr(34) & "),1)"

If I do it with RefersToLocal and put it in Swedish it works and if
then echo it, its syntax matches the one above (Except the variables)!
Am I doing something wrong or might it be a bug?

I do not have an English installation to try it on so if someone coul
do it I would appreciate it.

Thank you in advance
Ander

--
akulle
-----------------------------------------------------------------------
akullen's Profile: http://www.excelforum.com/member.php...fo&userid=3251
View this thread: http://www.excelforum.com/showthread.php?threadid=52352

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Problem with English formula in Swedish installation

It worked fine for me. If the sheet name had a space in it, the name was
created but didn't work. If column I has no data, the name is created, but
isn't a valid range if you try to use it in code.

Assumes you have a sheet with a codename of xlsheet.

xl2003, US English

--
Regards,
Tom Ogilvy


"akullen" wrote:


Hello,

I cannot get this VBA line to work on my Swedish installation of excel
2003.

ActiveWorkBook.Names.Add _
Name:="Lables", _
RefersTo:="=OFFSET(INDIRECT(" & Chr(34) & xlSheet.Name & "!J2" & _
Chr(34) & "),0,0,COUNTIF(INDIRECT(" & Chr(34) & xlSheet.Name & "!I:I"&
_
Chr(34) & ")," & Chr(34) & "0" & Chr(34) & "),1)"

If I do it with RefersToLocal and put it in Swedish it works and if I
then echo it, its syntax matches the one above (Except the variables)!
Am I doing something wrong or might it be a bug?

I do not have an English installation to try it on so if someone could
do it I would appreciate it.

Thank you in advance
Anders


--
akullen
------------------------------------------------------------------------
akullen's Profile: http://www.excelforum.com/member.php...o&userid=32513
View this thread: http://www.excelforum.com/showthread...hreadid=523521


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using english and non-English Excel commands simultaneously in anon-English installation Michael.Tarnowski Excel Worksheet Functions 6 March 12th 10 07:21 AM
Swedish Excel problem Arne Hegefors Excel Discussion (Misc queries) 1 January 9th 07 12:59 PM
OR formula, translation to swedish please FreddieP Excel Discussion (Misc queries) 5 September 29th 06 07:57 AM
How do I convert my swedish version of office 2003 into an English Gin Excel Discussion (Misc queries) 1 October 9th 05 05:00 PM
o2ksr1a installation problem Kolipoki New Users to Excel 1 April 14th 05 10:05 PM


All times are GMT +1. The time now is 02:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"