+ Reply to Thread
Results 1 to 3 of 3

VBA concatenate script does not excute as expected, Concatenate and "&" can't be dragged

  1. #1
    Registered User
    Join Date
    08-06-2014
    Location
    Hamburg, Germany
    MS-Off Ver
    Mac 2011
    Posts
    2

    VBA concatenate script does not excute as expected, Concatenate and "&" can't be dragged

    Hi,
    1. We have a file with battery serial and manufacture numbers from our Chinese manufacturer.
    2. For the account program in Hamburg we require the text from column C- and E cells to be concatenated.
    EGRET SERIAL NUMBER PO8.6 2nd.xlsx

    Cells in column C and E already contain "&" formulae from columns B and D.

    Concatenate for requirement 2 above only works for the first instance, eg. F1 =CONCATENATE(C1,E1) gives the right cell content, however

    when dragging this down then F2 =CONCATENATE(C2,E2)
    gives the same value as F1 and doesn't concatenate C2 with E2 at all.
    Using "&" exhibits the same problem.

    I have tried the MS support forum for a VB script: http://support.microsoft.com/kb/213477

    This also doesn't produce the desired result- it ignores contents from column C and only adds column B, (eg C1="txt"&B1 -ignores the "txt" and adds B1)
    yet for column E it adds its value and the &D column. (column E format is same as C column eg E1= "txt"&D1)

    Tried changing the formatting from text to general, again no luck.

    As this will be a monthly event, any solutions would be greatly appreciated, never seen anything like this before.
    Last edited by VBAlex; 08-07-2014 at 09:26 AM. Reason: fixed by nilem

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: VBA concatenate script does not excute as expected, Concatenate and "&" can't be dragg

    Hi,
    just set the mode of automatic recalculation formulas

  3. #3
    Registered User
    Join Date
    08-06-2014
    Location
    Hamburg, Germany
    MS-Off Ver
    Mac 2011
    Posts
    2

    Thumbs up Re: VBA concatenate script does not excute as expected, Concatenate and "&" can't be dragg

    nilem, You ARE a champion- thank you sooooo hugely much!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Find "__"x"__" regardless of digits. The anti-concatenate....
    By esmithqg in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-02-2013, 10:42 PM
  2. Replies: 4
    Last Post: 09-06-2012, 02:37 AM
  3. Replies: 4
    Last Post: 10-29-2009, 12:08 PM
  4. Replies: 0
    Last Post: 07-17-2006, 09:45 AM
  5. Replies: 3
    Last Post: 06-15-2005, 06:05 PM

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.6.0 RC 1