+ Reply to Thread
Results 1 to 3 of 3

Using Evaluate function from other sheet for Serially numbering data in column

  1. #1
    Registered User
    Join Date
    04-06-2012
    Location
    India
    MS-Off Ver
    Pro Plus 2019
    Posts
    86

    Using Evaluate function from other sheet for Serially numbering data in column

    Hi!

    Following macro reads the no. of rows in column ‘D’ (in Sheet1) having data, and puts serial nos. in Column ‘C’ starting from row C2 (since cell D1 has column header).

    Please Login or Register  to view this content.
    When I run the macro from the same sheet, the macro run properly. However, if the active sheet is something other than Sheet1, then the code tries to read the non-empty cells in column D of the currently active sheet and puts serial nos. accordingly in Sheet1.

    I am not sure how to run the Evaluate function from some other sheet.

    Sample file attached. Please run the code from Sheet1 & Sheet2 to see the issue

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Using Evaluate function from other sheet for Serially numbering data in column

    Try this:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-06-2012
    Location
    India
    MS-Off Ver
    Pro Plus 2019
    Posts
    86

    Re: Using Evaluate function from other sheet for Serially numbering data in column

    Thanks for the prompt reply.

    Works great.

+ 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. Numbering column with IF function
    By Cchoma in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-02-2015, 12:57 AM
  2. Replies: 2
    Last Post: 06-27-2014, 06:40 AM
  3. Replies: 2
    Last Post: 05-23-2013, 01:00 PM
  4. Excel Numbering using existing column data
    By danameischetta in forum Excel General
    Replies: 3
    Last Post: 04-18-2012, 02:24 AM
  5. [SOLVED] Help with Mr. Peterson's Code.. Print serially from a Sheet
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2006, 09:15 AM
  6. [SOLVED] Help with Mr. Peterson's Code.. Print serially from a Sheet
    By prkhan56 in forum Excel Programming / VBA / Macros
    Replies: 50
    Last Post: 07-31-2005, 09:05 AM
  7. [SOLVED] how to use Excel to generate alphabet serially
    By Maxwell in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-07-2005, 11:06 AM

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