Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 121
Default the rigt syntaz

hi all can anybody show me the right syntax for this..

aWS.Range("A18").Value =
s("T &
aWS.Range("A16").Value & ").Value

tytyvm
paolo
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,510
Default the rigt syntaz

I am assuming that aWS.Range("A16").Value is supposed to be the row number.
If my assumption is correct then you need to realize that when you use the
Cells then the syntax is:- Cells(Row,Column) (the comma is also essential)

It is the reverse of Range("T8") where the column is first.

Note that the space and underscore at the end of the line is a line break in
an otherwise single line of code.

aWS.Range("A18").Value = _
("Sheet1") _
.Cells(aWS.Range("A16").Value, "T").Value


--
Regards,

OssieMac


"pls123" wrote:

hi all can anybody show me the right syntax for this..

aWS.Range("A18").Value =
s("T &
aWS.Range("A16").Value & ").Value

tytyvm
paolo

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 121
Default the rigt syntaz

I FOUND !!
...SORRY ALL


"pls123" wrote:

hi all can anybody show me the right syntax for this..

aWS.Range("A18").Value =
s("T &
aWS.Range("A16").Value & ").Value

tytyvm
paolo

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



All times are GMT +1. The time now is 02:33 AM.

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"