Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
tj tj is offline
external usenet poster
 
Posts: 71
Default change spreadsheet name change

Hi,

I would like to change the spreadsheet name to say whatever I type in cell A1.

Please advise

thanks
TJ
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default change spreadsheet name change

If you are looking to achieve it using code; try this...

A1 = TestSheet

Launch VBE using Alt+F11. Ctrl+G will launch immediate window. Paste the
below code and enter..

Activesheet.name = Range("A1")

If this post helps click Yes
---------------
Jacob Skaria


"TJ" wrote:

Hi,

I would like to change the spreadsheet name to say whatever I type in cell A1.

Please advise

thanks
TJ

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default change spreadsheet name change

Right click on sheet tab.
Choose "View code".

Paste this in:

Private Sub Worksheet_Change(ByVal Target As Range)
If Target = Range("A1") Then
ActiveSheet.Name = Range("A1").Value
End If
End Sub

'Close VBA editor.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"TJ" wrote:

Hi,

I would like to change the spreadsheet name to say whatever I type in cell A1.

Please advise

thanks
TJ

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default change spreadsheet name change


Right click sheet tabview code copy/paste this

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address < "$A$1" Then Exit Sub
ActiveSheet.Name = Target
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"TJ" wrote in message
...
Hi,

I would like to change the spreadsheet name to say whatever I type in cell
A1.

Please advise

thanks
TJ


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
Change date from UK to US for one spreadsheet Lauren Excel Discussion (Misc queries) 3 March 6th 08 02:48 PM
Change cell which is the spreadsheet End Hairy Hurdler New Users to Excel 5 February 16th 06 05:15 PM
Change layout of spreadsheet Glenda Excel Discussion (Misc queries) 0 June 1st 05 12:10 AM
Change layout of spreadsheet Carole O Excel Discussion (Misc queries) 0 May 31st 05 11:40 PM
How do I change the overall size of a spreadsheet? MnSCU Dale Excel Worksheet Functions 2 April 12th 05 09:29 PM


All times are GMT +1. The time now is 02:32 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"