+ Reply to Thread
Results 1 to 3 of 3

Insert the word GBP into Cell D1

  1. #1
    Registered User
    Join Date
    03-30-2011
    Location
    Swansea
    MS-Off Ver
    Excel 2007
    Posts
    72

    Insert the word GBP into Cell D1

    Every time my VBA code is run I need the word "GBP" to insert in to Cell D1, and the Format of column D to change to right.
    Last edited by MAButler; 04-10-2011 at 05:44 AM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Insert the word GBP into Cell D1

    Fire up the macro recorder. Enter GBP into D1. Format column D to right justified. Stop the macro recorder.

    There's the code you need. You can tidy it up to remove the Select statements Excel puts in.

  3. #3
    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

    Re: Insert the word GBP into Cell D1

    Hi,

    Perhaps?

    Please Login or Register  to view this content.
    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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