Results 1 to 4 of 4

How to name the list

Threaded View

  1. #1
    Registered User
    Join Date
    02-10-2006
    Posts
    5

    How to name the list

    Firstly I made a type mistake: In my language version "Sheet" is "List"

    Hello guys
    I need help. I am trying to write my first VBA code. First complication has already occured :-).
    I want to name the sheet after cell, including cell´s format (00"/"0000"/"00)

    I use this simple code but doesn´t work properly:

    Private Sub CommandButton2_Click()
    ActiveSheet.Name = ActiveSheet.Range("B1").Value
    End Sub



    For instance: The cell has content : 05/4103/01 and I need to get this into Sheet´s name field.

    My procedure returns only 5410301 as a Sheet name


    Thank you for your advices
    Last edited by Toman; 02-21-2006 at 05:24 AM.

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