Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default New value in a row

Hi

I can only see some answers on how making new value in a collum
like:
Range("a2").End(xlDown).Offset(1, 0) = rew

but how do i make a new value in a row

Regards
Alvin

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default New value in a row

Hi Alvin,

Try:
'=============
Public Sub Tester001()
Dim rng As Range

Set rng = Cells(2, Columns.Count). _
End(xlToLeft).Offset(0, 1)
rng.Value = "New"

End Sub
'<<=============


---
Regards,
Norman


"alvin Kuiper" wrote in message
...
Hi

I can only see some answers on how making new value in a collum
like:
Range("a2").End(xlDown).Offset(1, 0) = rew

but how do i make a new value in a row

Regards
Alvin



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default New value in a row

yes yes yes

Yhank you

regards alvin


"Norman Jones" wrote:

Hi Alvin,

Try:
'=============
Public Sub Tester001()
Dim rng As Range

Set rng = Cells(2, Columns.Count). _
End(xlToLeft).Offset(0, 1)
rng.Value = "New"

End Sub
'<<=============


---
Regards,
Norman


"alvin Kuiper" wrote in message
...
Hi

I can only see some answers on how making new value in a collum
like:
Range("a2").End(xlDown).Offset(1, 0) = rew

but how do i make a new value in a row

Regards
Alvin




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 12:07 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"