Jump to content
One on One Extensive Advanced Excel Training ×
Business Intelligence & Analytics for Digital Transformation
  • Tutorials

10 Comments


Recommended Comments

23 minutes ago, bhavin said:

whats the difference about offset and range(x,x).cells(x,x)

 

  • If you are following our videos properly..... we have not touched offset.....
  • even told that offset will be covered in next video
  • so answering at this point is irrelevant 
  • For course we have to be together......  else ask in forums
  • in short wait for next tutorial

Thank you

 

Link to comment
53 minutes ago, Saurabh Jain said:
  • If you are following our videos properly..... we have not touched offset.....
  • even told that offset will be covered in next video
  • so answering at this point is irrelevant 
  • For course we have to be together......  else ask in forums
  • in short wait for next tutorial

Thank you

looks like you have got offended. thats not my intention.

 

 

Link to comment

Sub cells_example()

Range("J10").Cells(1, 1).Value = "Usman"

Range("J10").Cells(1, 4).Value = "Usman"

Range("J10").Cells(5, 3).Value = "Usman"

Range("J10").Cells(8, 1).Value = "Usman"

Range("J10").Cells(3, -2).Value = "Usman"

Range("J10").Cells(1, -4).Value = "Usman"

Range("J10").Cells(-3, -3).Value = "Usman"

Range("J10").Cells(-5, 1).Value = "Usman"

Range("J10").Cells(-2, 3).Value = "Usman"

End Sub

Link to comment

Hi Saurabh,

I am able to complete the assignment but when giving range in negative integer why it is not uniform.

I meant, if we see code written for #2 & #6 ,

for# 2-> cell range is (1, 4) but for #6 -> cell range is (1, -4)

whereas I expect cell range to be (1,-6).

Hope you are able to understand my question ?

image.thumb.png.6d4c0fa052eebc7d0c76a611a66116d9.png

 

image.png.968e5862e24a212c18fb3ca5b4f6c3aa.png

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Login to participate

    • Sign up / Login
    • Join the club
    • and then you are on the board
×
×
  • Create New...