Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Name a sheet using letters from a string?

I'd like to know how to name the active sheet using the first 6
characters from a string variable. For example: if the string
variable = "Customer" then I want to name the active sheet "Custom"

Many thanks!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,311
Default Name a sheet using letters from a string?

Something like this may work.

ActiveSheet.Name = Left(variable, 6)

HTH,
Paul

wrote in message
oups.com...
I'd like to know how to name the active sheet using the first 6
characters from a string variable. For example: if the string
variable = "Customer" then I want to name the active sheet "Custom"

Many thanks!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Breaking a string of letters Confused Excel Discussion (Misc queries) 2 March 10th 07 11:49 AM
Breaking a string of letters john Excel Discussion (Misc queries) 0 March 8th 07 07:31 PM
count number of letters in a string Wiley Excel Worksheet Functions 3 May 11th 06 06:54 PM
# of letters in a string DejaVu[_43_] Excel Programming 4 August 8th 05 02:59 PM
Splitting string into letters and numbers Foss[_2_] Excel Programming 2 February 3rd 05 10:35 AM


All times are GMT +1. The time now is 07:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"