+ Reply to Thread
Results 1 to 5 of 5

Application.GoTo Reference

  1. #1
    Registered User
    Join Date
    06-14-2009
    Location
    Riga
    MS-Off Ver
    Excel 2007
    Posts
    7

    Application.GoTo Reference

    Dear All,

    I have been trying to solve the problem by myself, but encountered one problem. I need a macro, which will copy data from a specific range to an another cell, which reference is specified in Cell Y5. Unfortunatelly, the reference in cell y5 is changing all the time, and I wasn't able to extract that reference to the code

    The code looks like this:
    Please Login or Register  to view this content.
    Thanks in advance,
    j.
    Last edited by Jasutasu; 01-18-2011 at 09:34 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Application.GoTo Reference

    What's in Y5, is a cell reference like $A$1?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,549

    Re: Application.GoTo Reference

    It would be something like:

    Please Login or Register  to view this content.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    06-14-2009
    Location
    Riga
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Application.GoTo Reference

    royUK,
    Yes, it is like A5

    TMShucks,
    Thanks! It works smoothly

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,549

    Re: Application.GoTo Reference

    You're welcome. Thanks for the feedback.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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