Results 1 to 4 of 4

how to refer to a sheet properly

Threaded View

  1. #1
    Registered User
    Join Date
    07-03-2013
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    89

    how to refer to a sheet properly

    I have a line of code, it used to work fine, but after some smaller changes, its not doing it what i want it to do.

    HTML Code: 
    it is meant to tkae the value from the second sheet in wb2, and paste it into the sheet data in WB. however it is actually gathering data from the first sheet. any suggestions why ?

    edit: it works if i use: Sheets("Number of open orders") instead, but i was certain i could refer to the sheet nr aswell ?
    Last edited by siggisigg; 07-18-2014 at 04:17 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Use INDIRECT To Refer Sheet Name
    By jackgan in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-09-2014, 03:50 PM
  2. how to refer a sheet by its name
    By pankajy18 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-02-2013, 10:39 AM
  3. Replies: 7
    Last Post: 12-16-2012, 04:24 PM
  4. Replies: 2
    Last Post: 08-21-2012, 09:15 AM
  5. To refer certain value from other sheet
    By pastecopy in forum Excel General
    Replies: 2
    Last Post: 03-19-2011, 09:47 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