+ Reply to Thread
Results 1 to 6 of 6

Using Offset As A Variable Gives Errors

  1. #1
    Forum Contributor
    Join Date
    10-29-2019
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    156

    Using Offset As A Variable Gives Errors

    Hi, Not sure why this doesnt work, trying to use offset as a variable - ValuesRangex = ValuesRange.Offset(i, 0).Address, everything else works fine.

    Thanks again.


    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,133

    Re: Using Offset As A Variable Gives Errors

    Maybe
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    10-29-2019
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    156

    Re: Using Offset As A Variable Gives Errors

    That works great, but now I cant get MsgBox to display the range ValuesRangex ...

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,133

    Re: Using Offset As A Variable Gives Errors

    Add the .Address to it

  5. #5
    Forum Contributor
    Join Date
    10-29-2019
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    156

    Re: Using Offset As A Variable Gives Errors

    Thanks again.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,133

    Re: Using Offset As A Variable Gives Errors

    My pleasure

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Offset with a variable
    By Tati123 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-07-2018, 06:00 AM
  2. [SOLVED] Handling Errors from Formula result, stored in a variable.
    By adibukovi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-06-2018, 10:29 AM
  3. [SOLVED] Vba code to check if there are formula errors and put them in a variable
    By rpinxt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-17-2016, 09:14 AM
  4. Select offset variable offset cells
    By papasmurfuo9 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-02-2014, 06:12 AM
  5. [SOLVED] Offset an IF Function that checks for mathematical errors...
    By pasqualebaldi in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-11-2014, 07:29 PM
  6. Using Offset in VBA with a Variable
    By Jietoh in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 11-06-2013, 01:24 PM
  7. Offset with variable
    By James in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-16-2005, 04:05 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1