Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
mango
 
Posts: n/a
Default range and cells syntax

dear all,
can help me to clear my doubt. thanks alot

1) all data in bracket for cells and range must be string?

cells
2) i do not understand if the row data must be type string? why?
Line and i must be string?

Line = Line + 1
Set z = tableB.Cells(Line, "A")

shead = Left(Cells(i, "B").Value, 50)

3) the row for range also must be type string?
rows.count will return a number which is string type?
lastrow also a string?

Set tableB = Worksheets(tosheet).Range("A:G")

Line = Worksheets(tosheet).Range("A" & Rows.Count).End(xlUp).Row

Range("A1:C" & lastrow).Select

Worksheets(tosheet).Range("A1").Value = "Desc"




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
What formula is used for subtracting a range of different cells f. tim Excel Worksheet Functions 3 April 21st 23 10:07 PM
Formula help for using a range of cells! Sukismomma Excel Worksheet Functions 5 January 27th 05 02:34 AM
How can I dynamically eliminate blank cells in a given range in E. Scott Steele Excel Worksheet Functions 6 December 17th 04 03:23 AM
How do you delete one cell from a range of protected cells Cgbilliar Excel Worksheet Functions 2 November 3rd 04 10:42 PM
Excel-value in a range of cells for two cross references K.S.Warrier Excel Worksheet Functions 2 November 2nd 04 08:24 AM


All times are GMT +1. The time now is 01:21 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"