Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default mailing new workbook in VBA 255 character problem

Here is a small portion of vba I use to email 2 sheets.

Sheets(Array("Claim", "Sketch")).Copy

strDate = Format(Date, "dd-mmm-yyyy")
ActiveWorkbook.SaveAs "Claim " & Sheets("Claim").Range
("AH3").Value _
& " created on " & strDate & ".xls"

ActiveWorkbook.SendMail Sheets("Claim").Range
("d150:d154").Value, _
"Electronic Claim" & " " & Sheets("Claim").Range
("AH3").Value

Trouble is 1 cell can have more than 255 characters and I
loose that info. Is there a way I can copy that cell from
the origional book and paste it to the new one so I don't
loose the info that contains over 255 charaters.
Second consideration is users can give the origional
workbook a personalized name so I would have to use a
varialble to get the origional workbook name.

I am a newbie to VBA but trying to learn fast.

Thanks in advance.


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
Mailing each worksheet in Workbook Gaura215 Excel Discussion (Misc queries) 0 February 8th 11 11:17 AM
mailing one sheet from workbook nospaminlich Excel Discussion (Misc queries) 2 June 30th 05 12:36 AM
Problem mailing as an attachment CJz New Users to Excel 3 April 14th 05 08:53 PM
Problem mailing as an attachment CJz Setting up and Configuration of Excel 2 April 14th 05 08:46 PM
bulk mailing problem Ludo Soete Excel Programming 1 December 18th 03 07:59 PM


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