Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
this works in office XP vAddress = Workbooks(sParameters.Parent.Name).Names(vName).Re fersTo vCol = Range(vAddress).Column but not in office 2000. There must be an incompatibility, I guess. How can I know the column-number of a named range in Office 2000? Thanks Jos Vens |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How about
Workbooks(sParameters.Parent.Name).Range(vName).Co lumn -- HTH RP (remove nothere from the email address if mailing direct) "Jos Vens" wrote in message ... Hi, this works in office XP vAddress = Workbooks(sParameters.Parent.Name).Names(vName).Re fersTo vCol = Range(vAddress).Column but not in office 2000. There must be an incompatibility, I guess. How can I know the column-number of a named range in Office 2000? Thanks Jos Vens |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks a lot Bob,
it works (and is much simpler)! Jos "Bob Phillips" schreef in bericht ... How about Workbooks(sParameters.Parent.Name).Range(vName).Co lumn -- HTH RP (remove nothere from the email address if mailing direct) "Jos Vens" wrote in message ... Hi, this works in office XP vAddress = Workbooks(sParameters.Parent.Name).Names(vName).Re fersTo vCol = Range(vAddress).Column but not in office 2000. There must be an incompatibility, I guess. How can I know the column-number of a named range in Office 2000? Thanks Jos Vens |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Bob,
small correction sParameters.Range(vName).Column where sParameters is a pointer to a sheet. With workbooks, it does not work! Jos "Bob Phillips" schreef in bericht ... How about Workbooks(sParameters.Parent.Name).Range(vName).Co lumn -- HTH RP (remove nothere from the email address if mailing direct) "Jos Vens" wrote in message ... Hi, this works in office XP vAddress = Workbooks(sParameters.Parent.Name).Names(vName).Re fersTo vCol = Range(vAddress).Column but not in office 2000. There must be an incompatibility, I guess. How can I know the column-number of a named range in Office 2000? Thanks Jos Vens |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Jos,
So how did this ever work inn XP? vAddress = Workbooks(sParameters.Parent.Name).Names(vName).Re fersTo vCol = Range(vAddress).Column -- HTH RP (remove nothere from the email address if mailing direct) "Jos Vens" wrote in message ... Hi Bob, small correction sParameters.Range(vName).Column where sParameters is a pointer to a sheet. With workbooks, it does not work! Jos "Bob Phillips" schreef in bericht ... How about Workbooks(sParameters.Parent.Name).Range(vName).Co lumn -- HTH RP (remove nothere from the email address if mailing direct) "Jos Vens" wrote in message ... Hi, this works in office XP vAddress = Workbooks(sParameters.Parent.Name).Names(vName).Re fersTo vCol = Range(vAddress).Column but not in office 2000. There must be an incompatibility, I guess. How can I know the column-number of a named range in Office 2000? Thanks Jos Vens |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Bob,
it worked! I guess because the RefersTo gives a string, and the Range of a string-address has a property column in XP? It's the "vCol = Range(vAddress).Column" that gave an error in Office 2000, but the on error resume next set up a trap for me, I thougt it worked. Jos "Bob Phillips" schreef in bericht ... Hi Jos, So how did this ever work inn XP? vAddress = Workbooks(sParameters.Parent.Name).Names(vName).Re fersTo vCol = Range(vAddress).Column -- HTH RP (remove nothere from the email address if mailing direct) "Jos Vens" wrote in message ... Hi Bob, small correction sParameters.Range(vName).Column where sParameters is a pointer to a sheet. With workbooks, it does not work! Jos "Bob Phillips" schreef in bericht ... How about Workbooks(sParameters.Parent.Name).Range(vName).Co lumn -- HTH RP (remove nothere from the email address if mailing direct) "Jos Vens" wrote in message ... Hi, this works in office XP vAddress = Workbooks(sParameters.Parent.Name).Names(vName).Re fersTo vCol = Range(vAddress).Column but not in office 2000. There must be an incompatibility, I guess. How can I know the column-number of a named range in Office 2000? Thanks Jos Vens |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
free pre-installed Office interfers with Office 2000 professional. | Excel Discussion (Misc queries) | |||
Office 2000/Office 2003 Excel not printing landscape vise versa | Setting up and Configuration of Excel | |||
I cannot edit cell format in Excel 2000 (Part of office 2000)! | Excel Discussion (Misc queries) | |||
HOW CAN I READ SPREADSHEETS CREATED BY OFFICE 2000 ON OFFICE 2003. | Excel Worksheet Functions | |||
Excel Programs developed in Office 2000 on Windows 2000 | Excel Discussion (Misc queries) |