+ Reply to Thread
Results 1 to 3 of 3

Stuck using the Offset in Excel 2013, hi guys and gals, what is wrong with this code?

  1. #1
    Forum Contributor
    Join Date
    05-09-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    259

    Stuck using the Offset in Excel 2013, hi guys and gals, what is wrong with this code?

    If Offset(0, 6).value = "Y" Then
    Sheets("Sheet3").Select
    Range("C21").Select

    Any help would be great. In windows7 this code is fine.

    If Activecell Offset(0, 6).value = "Y" Then
    Sheets("Sheet3").Select
    Range("C21").Select

    Not sure why you have to say Activecell? Windows 7 so much better for VBA
    Last edited by Hurricanefly; 05-15-2013 at 07:17 AM. Reason: Okay solved it.

  2. #2
    Registered User
    Join Date
    10-20-2012
    Location
    italy
    MS-Off Ver
    Excel 2013
    Posts
    11

    Re: Stuck using the Offset in Excel 2013, hi guys and gals, what is wrong with this code?

    Hi,

    Please Login or Register  to view this content.
    Tested Excel 2013
    Last edited by PcSaggio; 05-09-2013 at 01:02 PM. Reason: Add Wrap code

  3. #3
    Forum Contributor
    Join Date
    05-09-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    259

    Re: Stuck using the Offset in Excel 2013, hi guys and gals, what is wrong with this code?

    Thanks for your reply, great help ta

+ 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