Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Problem renaming worksheets

Close excel.
Open windows explorer.
Go to the folder with that file.
Rename it and remove any [ and ] characters.



ArenaNinja wrote:

After countlessly deleting empty rows with my mouse, I proceeded to
insert a macro inside all files which I need to empty rows from. The
formula is as follows:

Sub DeleteEmptyRows()

Dim LastRow As Long, r As Long

LastRow = ActiveSheet.UsedRange.Row - 1 +
ActiveSheet.UsedRange.Rows.Count
Application.ScreenUpdating = False

For r = LastRow To 1 Step -1
If Application.CountA(Rows(r)) = 0 Then Rows(r).Delete
Next r

Application.ScreenUpdating = True

End Sub


For two days, I've used this formula without a problem. However, today,
when I renamed my worksheets, excel keeps adding an ".xls]" at the
beginning of the worksheet's name (note: not the filename). Is there
any reason or way that the macros would be interfering with the
software? If so, how can I fix it? or was it that I accidentally
enabled some random functionality? something else? Please help!

Note: I only have this problem in workbooks where I have utilized the
macro.

P.S.: I am using Excel 2000, but any general guidelines for any other
year would be helpful and much appreciated.

--
ArenaNinja
------------------------------------------------------------------------
ArenaNinja's Profile: http://www.excelforum.com/member.php...o&userid=33624
View this thread: http://www.excelforum.com/showthread...hreadid=533979


--

Dave Peterson
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
Deselecting Worksheets Sloth Excel Discussion (Misc queries) 1 October 26th 05 09:31 PM
Spawning worksheets and a summary per worksheet username Excel Discussion (Misc queries) 0 May 23rd 05 09:57 PM
Problem using excel workbook in word mailmerge Ellen Excel Discussion (Misc queries) 3 May 3rd 05 08:04 PM
Renaming File Removes Worksheets Dustin D. Cook Excel Discussion (Misc queries) 2 April 7th 05 10:21 PM
Renaming Worksheets Steve Walford Excel Worksheet Functions 3 April 1st 05 09:29 PM


All times are GMT +1. The time now is 05:06 PM.

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"