+ Reply to Thread
Results 1 to 6 of 6

correct two code merged to move data from listbox and paste to other cell only value

  1. #1
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    correct two code merged to move data from listbox and paste to other cell only value

    Dear All
    can help me to know what the wrong in this code
    i the following code from two code that want to transfer data from listbox then copy data from two column to another two column with value only
    HTML Code: 
    the problem in the following row
    HTML Code: 

  2. #2
    Valued Forum Contributor
    Join Date
    11-04-2018
    Location
    Denpasar
    MS-Off Ver
    Excel 2010
    Posts
    777

    Re: correct two code merged to move data from listbox and paste to other cell only value

    Regardless to the rest of the code ....

    Please Login or Register  to view this content.
    I think that is not a correct syntax

    it should be like this:
    Please Login or Register  to view this content.
    you need to add "L" for "xl" .
    Last edited by karmapala; 07-18-2020 at 02:58 PM.

  3. #3
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: correct two code merged to move data from listbox and paste to other cell only value

    thank you so much for your notes i find the mistake
    the coorrect one is
    HTML Code: 
    its missed l

  4. #4
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: correct two code merged to move data from listbox and paste to other cell only value

    thank you

  5. #5
    Valued Forum Contributor
    Join Date
    11-04-2018
    Location
    Denpasar
    MS-Off Ver
    Excel 2010
    Posts
    777

    Re: correct two code merged to move data from listbox and paste to other cell only value

    you're welcome .

    Just for you guidance,
    you will notice that if it's not a correct syntax, excel won't correct it to upper/lower case letters.

    So, next time when you see all the letters in your syntax still in lower-case (just like xpastevaluesandnumberformats),
    then mostly because it's not a correct syntax. So then you know something wrong with the syntax.

    Say, you write all in lowercase : xlpastevaluesandnumberformats
    once you go for the next line, Excel will put correct it to upper/lower case : xlPasteValuesAndNumberFormats

  6. #6
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: correct two code merged to move data from listbox and paste to other cell only value

    really its great info , first time know this , thank you so much for your help and teaching me this

+ 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. Merged cell error on copy/paste, but no merged cells
    By OmniBlue in forum Excel General
    Replies: 3
    Last Post: 07-15-2019, 02:15 PM
  2. [SOLVED] VBA: Copy and paste row of data to correct worksheet based on cell value
    By dosydos in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-26-2018, 12:06 PM
  3. [SOLVED] Move Data from one workbook to another workbook and paste to correct tab
    By bigroo1958 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-11-2018, 01:28 PM
  4. [SOLVED] link/paste data on merged cell by formula.
    By ryan4646 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-13-2013, 06:53 AM
  5. need to correct code to paste the data in next cells
    By Kiran Kurapati in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-24-2013, 11:48 AM
  6. paste data from listbox in first empty cell in row A
    By armaret in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-24-2013, 11:53 AM
  7. [SOLVED] Copy merged cell, paste as merged cell
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-18-2009, 02:35 PM

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