Results 1 to 3 of 3

Define sheet name in VB

Threaded View

  1. #1
    Forum Contributor
    Join Date
    01-14-2004
    Location
    India
    MS-Off Ver
    365
    Posts
    264

    Define sheet name in VB

    Dear Friends
    I request your help
    I have 11 sheets namely A1,A2,A3.....A11
    Could you please me to correct the following code to join "A" and the value of x to read the sheet name
    I have already defined all the sheets as (Set A1 = Worksheets("A1")
    For X = 1 To 11
    ACCNO = "A" & X.Range("F2").Value
    MsgBox ACCNO
    Next X
    Thanks
    Last edited by SMILE; 12-16-2013 at 02:12 AM.
    Appreciate clicking the * Add Reputation button on your left side, if you want say thanks to me

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Define which sheet to extract data from
    By vonborge in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-04-2013, 06:47 AM
  2. Excel 2007 : Define name in sheet
    By daigia99 in forum Excel General
    Replies: 1
    Last Post: 02-21-2010, 12:55 AM
  3. Define Name then call it in new sheet
    By Phl1331 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-02-2007, 11:29 AM
  4. using cells to define sheet references
    By patrickgamer in forum Excel General
    Replies: 1
    Last Post: 04-27-2006, 04:00 PM
  5. [SOLVED] Syntax to define sheet name to use in VBA
    By Barb Reinhardt in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-23-2005, 03:35 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