+ Reply to Thread
Results 1 to 4 of 4

Sheet names from range instead of altering the code

  1. #1
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Sheet names from range instead of altering the code

    Hi
    we have a multi user login workbook where we have defined set of worksheets to be opened for each user level from 1 to 3.
    below is the sample code where the case condition is defined, my issue is to set a defined named ranges for the worksheet names instead of mentioning the sheet names in VB.

    Please Login or Register  to view this content.
    Thanks.
    Thanks & Regards
    Muralidaran.

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Sheet names from range instead of altering the code

    Try this
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Re: Sheet names from range instead of altering the code

    I have tried your code but found some error in the below line, may be I hope because we didn't define for Dim C.

    Please Login or Register  to view this content.
    Below is the actual code which I have in my workbook.

    Please Login or Register  to view this content.
    Last edited by muralidaran; 04-19-2015 at 10:17 AM.

  4. #4
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Re: Sheet names from range instead of altering the code

    Hi
    Could anyone help me on this request please..

+ 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. Help Altering Code that Was Created
    By trevor2524 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-08-2014, 09:55 AM
  2. [SOLVED] Need Help Altering Code
    By basketball2524 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-04-2014, 01:05 PM
  3. [SOLVED] Altering existing formulas using VBA code
    By TheRobsterUK in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-14-2014, 11:35 AM
  4. Altering Range in Code
    By Janc in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 11-02-2009, 07:27 AM
  5. altering URLs with code
    By imimin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-23-2006, 12:45 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