Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Rename with more than 31 chars an Excel sheet

Hi. I need to rename my Excel sheets with long names, either manually or
using VBA, but I get the issue the names must be shorter than 31 chars.

I can do it using an external application (QTP from Mercury), it uses it's
internal datatable and I can export a sheet with a long name to an Excel
workbook and when I open the workbook the sheet it's there with the long
name, and works as any other sheet.

But I am sure there must be a way to rename the sheets from Excel or VBA
with long names. I don't understand why they (MS teams who developed Excel)
put that prevention, if long names does not affect the sheet performance. :-S

I hope an Excel or MS expert read this post, or anyone who knows how to do
that, and I will be so thankful.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 167
Default Rename with more than 31 chars an Excel sheet

Israel,

I've never seen it done before. VBA will throw an error if you rename a
sheet with more that 31 chars.

Mike

"Israel Valencia" wrote:

Hi. I need to rename my Excel sheets with long names, either manually or
using VBA, but I get the issue the names must be shorter than 31 chars.

I can do it using an external application (QTP from Mercury), it uses it's
internal datatable and I can export a sheet with a long name to an Excel
workbook and when I open the workbook the sheet it's there with the long
name, and works as any other sheet.

But I am sure there must be a way to rename the sheets from Excel or VBA
with long names. I don't understand why they (MS teams who developed Excel)
put that prevention, if long names does not affect the sheet performance. :-S

I hope an Excel or MS expert read this post, or anyone who knows how to do
that, and I will be so thankful.

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
how do i rename a sheet if the rename tab is inactive? Nelson Excel Worksheet Functions 1 March 3rd 10 10:28 AM
rename sheet tabs in excel blantyreson Excel Discussion (Misc queries) 2 August 22nd 07 06:31 PM
How to rename Excel Sheet with more characters? Billy316 Excel Discussion (Misc queries) 4 July 20th 05 05:11 AM
VBA to rename sheet WITHIN Excel DS Excel Programming 3 July 1st 05 03:30 PM
I cannot rename my excel sheet? Cissy Excel Worksheet Functions 1 April 3rd 05 05:50 AM


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