LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default footer character limit issue in Excel

I am running Excel v14 in MS Office 2010. I have a routine that puts a two line disclaimer into the footer of each tab in the workbook. The routine also inserts the date in the right hand side of the footer.

If I put the disclaimer and date in manually, no issues. If I insert the same disclaimer via code, the second line of the disclaimer truncates the last six characters of the string. If I leave the date out of the code, it works perfectly.

The disclaimer does not bust the 255 character limit. The first line is 43 characters; the second is 68.

So, I need to have both the disclaimer and date correctly inserted.

Any suggestions?

here's the code:

*********

Const Proprietary1 = "&8This string length is exactly 43 characters"
Const Proprietary2 = "The second line string length is much longer at 68 text characters--"



With ActiveSheet.PageSetup

.LeftFooter = ""
.CenterFooter = Proprietary & Chr(13) & Export
.RightFooter = Date

end with
 
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
Circumventing the 255 character header/footer limit Cato Larsen Excel Worksheet Functions 9 May 14th 23 07:46 PM
Text box character limit issue ~L Excel Worksheet Functions 0 November 13th 08 06:52 PM
Character limit in an Excel Row Denise Excel Worksheet Functions 1 October 6th 05 02:33 AM
Is it possible to add a 650 character footer in Excel? evecorin Excel Programming 0 April 4th 05 09:31 PM
Footer character limit Michelle Excel Programming 0 June 3rd 04 08:30 PM


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