Results 1 to 3 of 3

Thread: how do i mention range

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    how do i mention range

    range will be vary
    how do i mention without specifc range

    With ActiveWorkbook.Worksheets("Sheet1").Range("A1:K70")

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: how do i mention range

    Code:
    Dim i As Integer
    Dim j As Integer
    
    With ActiveWorkbook.Worksheets("Sheet1").Range("A" & i & ":K" & j)
    i and j would change depending on what you were doing at the time.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Re: how do i mention range

    still object defined error is form A1 there is no issue issue is k71 sometimes its vary
    With ActiveWorkbook.Worksheets("Sheet1").Range("A" & i & ":K" & j)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width