+ Reply to Thread
Results 1 to 2 of 2

Writing a Macro

  1. #1
    Registered User
    Join Date
    01-20-2008
    Location
    Sevenoaks, Kent Great Britain
    MS-Off Ver
    2010
    Posts
    54

    Writing a Macro

    Hi I have been trying to write a Macro for weeks but cant get everything I want to work, to work.

    I want to be able to produce a new cell from the data attached :-

    First of all I need excel to look at columns P,Q,V,W and see if it contains a number starting with a 7. Then I need it to add a 0 to the number as for some reason the report that produces this data takes off the leading zero. I then need it to combine the number with the following information into 1 cell. Then I can copy and paste these numbers into Outlook so we can send a text/sms message to our clients. I dont know if it is possible to export this data directly to Outlook?

    A C D G NEW NUMBER
    13006 Mr Peter Joseph <[email protected]>

    For each row it could produce 4 new entries if there is a number starting with 7 in each column PQVW. The report can be any length but never more than 500 rows.

    Many thanks if you can help me.
    Attached Files Attached Files

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Writing a Macro

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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