+ Reply to Thread
Results 1 to 2 of 2

Blackberry Friendly report automated

  1. #1
    Registered User
    Join Date
    02-12-2008
    Posts
    11

    Blackberry Friendly report automated

    Hi Guys

    Was just wondering if you could help. I currently have to send a small report (about 8 columns wide & 20 rows down) via outlook as a message as opposed to an attachment. This is so my regional directors can read the message on their blackberry.

    What I currently do is open a report run a macro, copy a tab over and then I am left with my report. I then highlight this, open outlook do a copy and paste (convert table to text) and off it goes. Was just wondering could this all be done through running my macro?? I easily found code to send it as an attachment but now I really need the code that would do the copy and paste and convert table to text. Any experts out their can help me out?

    Much Appreciated!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Quote Originally Posted by Excel_Enthuse
    Hi Guys

    Was just wondering if you could help. I currently have to send a small report (about 8 columns wide & 20 rows down) via outlook as a message as opposed to an attachment. This is so my regional directors can read the message on their blackberry.

    What I currently do is open a report run a macro, copy a tab over and then I am left with my report. I then highlight this, open outlook do a copy and paste (convert table to text) and off it goes. Was just wondering could this all be done through running my macro?? I easily found code to send it as an attachment but now I really need the code that would do the copy and paste and convert table to text. Any experts out their can help me out?

    Much Appreciated!

    Hi,

    Since you've already got the code to add an attachment, just modify it so that an Excel range contains the report in text format, give this name a range, and in the .BODY of the Outlook email refer to this named range, and remove the bit of code that adds an attachment.

    You can actually fire up an Outlook session from within Excel which makes the whole process fairly simple.


    HTH

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1