Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default macro which changes the name of tab in an excel sheet

need a macro which can change the name of the tab in a excel spreadsheet
according to the requirements

like if B4 cell comtains "vikram" then the name of this tab in this
excel sheet changes to vikram


ur help is highly appreciated

thank u so much


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default macro which changes the name of tab in an excel sheet

activesheet.name=range("b4")
or
if lcase(range("b4"))="vikram" then activesheet.name=range("b4")

--
Don Guillett
SalesAid Software

"vikram " wrote in message
...
need a macro which can change the name of the tab in a excel spreadsheet
according to the requirements

like if B4 cell comtains "vikram" then the name of this tab in this
excel sheet changes to vikram


ur help is highly appreciated

thank u so much


---
Message posted from
http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default macro which changes the name of tab in an excel sheet

ActiveSheet.Name = Cells(4, 2).Value - Piku

--
Message posted from http://www.ExcelForum.com

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
To display contents of a folder in an excel sheet using Excel MACRO [email protected] Excel Worksheet Functions 1 June 24th 06 01:18 AM
How do I put this macro on a EXCEL sheet? roger_home Excel Discussion (Misc queries) 1 February 24th 06 01:11 AM
create a macro to save excel sheet Moussa Hawas Excel Worksheet Functions 1 October 16th 05 09:19 PM
excel - macro code to open a protected sheet, enter passowrd, and then protect sheet arunjoshi[_5_] Excel Programming 1 May 2nd 04 03:50 PM
Excel Macro for multiple sheet ?? somu Excel Programming 3 February 14th 04 01:07 PM


All times are GMT +1. The time now is 08:44 AM.

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

About Us

"It's about Microsoft Excel"