+ Reply to Thread
Results 1 to 8 of 8

Copying to a named column

  1. #1
    Registered User
    Join Date
    11-05-2009
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Copying to a named column

    Hi there,

    I am having difficulty creating a VBA code to copy a value to a named column but keeping to the same row.

    Can any nice peeps out there help??

    Arabella
    xx

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Copying to a named column

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    11-05-2009
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Copying to a named column

    Thanks but that does not work....
    I'm trying to copy say "B2" to a named column but staying on row 2.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Copying to a named column

    Arabella, the onus is on you to provide sufficient information that someone can reasonably answer your question. So far, you're not holding up your end.

  5. #5
    Registered User
    Join Date
    11-05-2009
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Copying to a named column

    Well, I'm trying to create a VBA code that always copies the value of the active cell (which may be in colum A, B or C) and paste it to a named column but keeping to the same row. I say named column because I might insert columns and the offset function would not work if I insert columns.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Copying to a named column

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    11-05-2009
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Copying to a named column

    No luck I am afraid, but thanks anyway.

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Copying to a named column

    Arabella, columnName is a variable that has to be initlaized to a column letter or number.

+ 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