+ Reply to Thread
Results 1 to 4 of 4

Thread: Macro Referencing Text From Another Cell

  1. #1
    Registered User
    Join Date
    10-23-2008
    Location
    Winnipeg MB
    Posts
    5

    Macro Referencing Text From Another Cell

    Hi,

    I'm having some trouble figuring this out, although it's probably an easy fix. I'm trying to create a macro that when run, will enter text specified in the code in a cell of my choosing, and enter other information at the end of the previously entered text pulled from a different cell. I've attached at example of what I'm trying to do to help clarify.

    Thanks!
    Kevin
    Attached Files Attached Files
    Last edited by kjgreen77; 11-03-2008 at 01:14 PM.

  2. #2
    Registered User
    Join Date
    10-23-2008
    Location
    Winnipeg MB
    Posts
    5

    Error in the example

    In the example I said cell A2, It's supposed to be cell B2.

  3. #3
    Forum Guru VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    12,010
    Why not just use a formula like

    ="Inventory Database -"&RIGHT(D2,2)
    or am I missing something

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Registered User
    Join Date
    10-23-2008
    Location
    Winnipeg MB
    Posts
    5

    Thanks

    Don't know why that was so hard for me to figure out. Although it is a Monday after all.

    Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0