Copy only one column  of the workbook1  and paste it in another workbook 2

Hello Rishi. Please help me with this how to copy only one column C of the workbook1  and paste it in another workbook 2 in Column D so that When user execute workbook1 . and then execute workbook2 . Column D is automatically populated in Workbook2 based on the data in Column C in workbook 1
Please help
Thanks
Soniya

Hi Soniya
As I mentioned earlier, I haven't come across a situation of copying data from one workbook to another. However, for doing some dynamic modifications within the different sheets of the same workbook, you can refer to the following thread:
Comparing two queries with VBA macro
Thanks,
Rishi

Similar Messages

  • I want to write a script or Automator workflow/app that emails a random shortcut of the day to three recipients. The source is from an Excel spreadsheet. One column is the shortcut, and the second column is the definition. Anyone have experience?

    I want to write a script or Automator workflow/app that automatically emails a random shortcut of the day to three recipients. The source is from an Excel spreadsheet. One column is the shortcut, and the second column is the definition. Anyone have similar experience and know that this would work?

    I have had a first stab at the script, below.  It uses a file to store the shortcuts and command [descriptions].  You should be able to see from the script annotations how to add a new one.  (I populated 1-4 with real data, but got lazy after that, so you have a few placeholders to work with first.
    As I have noted, once you are happy that you have all the data in the file, you can comment out part of the script for ongoing use.  (BTW, my reluctance to use Excel is that I don't currently have it installed and I don't want to offer wrong advice.  If you have Numbers, I do have that and could probably modify to work with a spreadsheet from there.  This might be especially useful if you have the data already sitting in Excel.)
    A few things came-up whilist I was writing the script:
    1.     Currently, all recipients will not only get the same tip at the same time, but they will see the names and email addresses of the others who receive them.  It is possible to modify this.
    2.     I have added a property gRandomCheck which keeps track of which shortcut has already been used (since the last time the script was compiled.  This will prevent the same tip being sent more than once.    When all tips have been sent once, the script will alert you and not send anything until reset.  It does not check on a per-addressee basis (which would be a refinement).  (If you add a new addressee at this stage, the whole process will start again, and you may not really want this to be the behaviour.)
    3.     The way that I have built the list, commandList, is deliberately cumbersome - it's for the sake of clarity.  If you prefer, you can construct the whole list as {{shortcut:"X", command:"X"}, {shortcut:"Y", command:"Y"}}
    Have a look - I am sure you will have questions!
    SCRIPT STARTS HERE  Paste the following lines (thru the end) into a new AppleScript Editor document and press RUN
    --The property gRandomCheck persists between runs and is used to stop sending the same hint twice.
    property gRandomCheck : {}
    --I am defining a file on the desktop.  It doesn't have to be in this location
    set theFolder to path to desktop
    set commandFile to (theFolder as text) & "CommandFile.csv"
    --(* Unless you need to change the file contents you do not need to write to it each time.  Remove the "--" on this line and before the asterisk about 18 lines below
    --Follow this format and enter as many records as you like on a new line - each with a unique name
    set record1 to {shortcut:"Z", command:"Undo"}
    set record2 to {shortcut:"R", command:"Record"}
    set record3 to {shortcut:"⇧R", command:"Record Toggle"}
    set record4 to {shortcut:"⌘.", command:"Discard Recording & Return to Last Play Position"}
    set record5 to {shortcut:"X", command:"x"}
    set record6 to {shortcut:"X", command:"x"}
    set record7 to {shortcut:"X", command:"x"}
    set record8 to {shortcut:"X", command:"x"}
    set record9 to {shortcut:"X", command:"x"}
    set record10 to {shortcut:"X", command:"x"}
    set record11 to {shortcut:"X", command:"x"}
    set record12 to {shortcut:"X", command:"x"}
    set record13 to {shortcut:"X", command:"x"}
    --Make sure you add the record name before randomCheck:
    set commandList to {record1, record2, record3, record4, record5, record6, record7, record8, record9, record10, record11, record12, record13}
    --This part writes the above records to the file each time.
    set fileRef to open for access commandFile with write permission
    set eof of fileRef to 0
    write commandList to fileRef starting at eof as list
    close access fileRef
    --remove "--" here to stop writing (see above)*)
    --This reads from the file
    set fileRef to open for access commandFile with write permission
    set commandList to read fileRef as list
    close access fileRef
    --Here's where the random record is chosen
    set selected to 0
    if (count of gRandomCheck) is not (count of commandList) then
              repeat
                        set selected to (random number from 1 to (count of commandList))
                        if selected is not in gRandomCheck then
                                  set gRandomCheck to gRandomCheck & selected
                                  exit repeat
                        end if
              end repeat
    else
              display dialog "You have sent all shortcuts to all recipients once.  Recompile to reset"
              return
    end if
    --This is setting-up the format of the mail contents
    set messageText to ("Shortcut: " & shortcut of record selected of commandList & return & "Command: " & command of record selected of commandList)
    tell application "Mail"
      --When you're ready to use, you probably will not want Mail popping to the front, so add "--" before activate
      activate
      --You can change the subject of the message here.  You can also set visible:true to visible:false when you are happy all is working OK
              set theMessage to (make new outgoing message with properties {visible:true, subject:"Today's Logic Pro Shortcut", content:messageText})
              tell theMessage
      --You can add new recipients here.  Just add a new line.  Modify the names and addresses here to real ones
                        make new to recipient with properties {name:"Fred Smith", address:"[email protected]"}
                        make new to recipient with properties {name:"John Smith", address:"[email protected]"}
      --When you are ready to start sending, remove the dashes before "send" below
      --send
              end tell
    end tell

  • HT201272 wait just to be sure i am not the only one who has the "term and conditions" problem

    wait just to be sure i am not the only one who has the "term and conditions" problem

    Go to Crucial.com and use one of their two methods to determine what upgrades are available for your Mac:
    I would purchase the modules from Crucial as they are very reliable and wiill work with you if you have problems.
    OT

  • How can I copy an audio effect from a clip and paste it to another clip in the same timiline...With FCPro 7 it was all so fast........

    how can I copy an audio effect from a clip and paste it to another clip in the same timiline...With FCPro 7 it was all so fast........

    Tom Wolsky wrote:
    The advantage goes to FCP7 if you allow that it can copy and paste filters, audio and video, transformations, and other attributes separately.
    You can do that in FCPX too, as all the things you cited are listed separately in the inspector.
    Here's a little gotcha. Let's say you've color corrected a few clips and you've applied an effect to one and want to paste it the other clips. You switch off color correction and copy the clip. You select the other clips and paste effects. What do you think happens? The effect is applied, but the color correction is applied as well, only it's switched off as it was in the first clip, so all the color correction on the other clips is lost. Fun, eh?
    I'll try to replicate your gotcha - but no, that doesn't sound like fun at all!

  • Display only one variable in the header and not column in WAD

    Hi All,
    my requirement is to be able to display only one variable in the report output header and hide the others. I am able to display all by using the INFO FIELD ITEM and saying variable display ON - but the requirement is very specific for only one variable display.
    how can i achieve this ?
    Thanks,
    Shweta

    Hi,
    You can insert a text item and Turn off the others or Hide these from Filter pane I have done that and then use that query for your WAD.
    Steps:
    1. Uncheck all the variables from your Design item in Analyzer.
    2. Insert a New Text Item and check the Variable you want to display.
    3. Go back and run the Query.
    Even you can change the position in the Query and Save as a workbook.Let me know ,if this works.
    ~AK

  • When creating a "lookup" column be able to display not only one column from the other list, but additional columns

    With the lookup technique, it is possible to select an item from another list and display one column of this item
    It is obviously possible to create several lookup columns on the same list and therefore display several columns
    There’s a high risk of not selecting the same item and therefore have inconsistent columns
    The Requirement therefore consist of being able of displaying several columns of the same item from the other list, based on one unique selection
    Example:
    In list(x), define lookup column on list (y), column Title (possible today)
    Then define a “secondary” lookup column on same list, column Code
    The effect would be that when selecting an item from list (X), both Title and Code would show up consistently in 2 different columns of list (Y)
    All possible solutions are welcomed

    If you are using SharePoint 2010, you can retrieve additional columns when adding a Lookup. If you are using 2007, there is no direct OOTB way, but the following two posts provide potential work-arounds:
    https://www.definitivelogic.com/blog/microsoft-sharepoint-2007-pulling-column-data-one-list-another-based-common-list-field
    http://stefan-stanev-sharepoint-blog.blogspot.com/2010/11/sharepoint-2007-associated-lookup.html
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Can content be loaded from one PC into the iCloud and then accessed on another (new) PC?

    Can content that's loaded into the iCloud on one PC be accessed from the iCloud on another (new) PC?

    I think you have a few of options…
    Sign up for iTunes Match
    https://www.apple.com/itunes/itunes-match/
    That will allow you to use iCloud to 'match' then download all the songs that are in your library, it will try to replace songs that are available in the iTunes store, or it will copy the files into your iCloud account. This may take a while depending on your internet connection speed. Also see the limitations (like the 25,000 song limit).
    Copy the songs over to the new machine
    If you create a playlist in iTunes with all the relevant songs you should be able to drag them into a folder on another disk. This can be an USB drive or it could be the other computer (if you can setup how to share the disk & mount it on your old PC).
    You can then drag the folder of files into the iTunes Library on the other machine. That will copy all the files, however it will not create the playlists or the restore the play count's etc. It's safest to quit iTunes, open the "Automatically add to iTunes folder" in the media library and drop your files into that folder, then iTunes should import them all for you.
    iTunes 9: Understanding the "Automatically Add to iTunes" folder.
    Move everything to the new PC
    The final option would be to move all of the iTunes files & the library files to the new PC.
    iTunes: How to move your music to a new computer (see the 'external drive' section)
    This may not be an option if you have important media in both libraries because it replaces the entire iTunes library.
    Also don't forget to deauthorise the old PC if you don't want to use it with iTunes anymore, it's also on that last page I linked.

  • Add one column to the screen exits

    Hi All
        I am doing Screen Exits,
    here i have to add one column to the screen
    and it have to retrive the data from the specified fields
    anyone plz give me the solution.

    Hi
    which screen exit?
    Max

  • Hi, I have apple account/password on laptop but can't use the same ID etc on new Ipad.  On my account it says ID is only for 1 system.  I really want only one ID for both Ipad and laptop. Thanks

    Hi,
    I have apple account/password on laptop but can't use the same ID etc on new Ipad.  On my account it says ID is only for 1 system.  I really want only one ID for both Ipad and laptop.
    Thanks

    It seems that you have used the AppleIDs to "Purchase" your devices, which marries the two for all time and eternity.
    For info - Using your Apple ID for Apple services
    For Account security issues - Apple ID: Contacting Apple for help with Apple ID account security
    regards
    CCC

  • I am doing a book.  Can I select the option of 13 photos on a page, put only one photo on the page in the middle box and expect the page to be printed with only that picture surrounded by white?

    I am doing a book.  Can I select the option of 13 photos on a page, put only one photo in the middle box and expect the rest of the page to be printed with only white aroind that photo in the middle?

    No
    All photos frames must contain photos or you can not order the book
    LN

  • TS5181 I downloaded a song but even after the download is complete, it only plays one second of the song and then it ends.

    I downloaded a song to from iTunes, but even after the download is complete it only plays one second of the song and then it ends. Any ideas?

    Depending upon what country that you are in (music can't be re-downloaded in all countries) then try deleting that track from your iTunes library and redownload it via the Purchased link under Quicklinks on the right-hand side of the iTunes store home page on your computer's iTunes
    If you aren't in a country where you can re-download music or if it re-downloads in the same state then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • I have lost the remote that was paired. I bought another remote, but the procedure to pair the new one does not work. I suspect the the AT will work with only one remote at-a-time and i have to unpaid the first before pairing the second. How do I unpair?

    I have lost the remote that was paired. I bought another remote, but the procedure to pair the new one does not work. I suspect the the AT will work with only one remote at-a-time and i have to unpair the first before pairing the second. If this is true, how do I unpair? If not, what can I do?

    I was premature in posting the question. I found the answer in andother posting, and it was successful.
    Thanks, and sorry for the false alarm.

  • TS3276 I created 2 Gmail addresses. My Mac recognizes and accept only one name in the System Preferences

    I created 2 Gmail addresses. My Mac recognizes and accept only one name in the System Preferences.
    When I send a mail with one of the address, the recipient receives it with this address, however, if he replies, the incoming address will be the second one? ? ?

    I've never had a problem with multiple email addresses. My ISP's email account has multiple accounts and the same SMTP server, no problem.
    I can't speak for GMail as I only have one, and that is my spam email account, so I don't really care what it sends.
    I really don't understand your response.
    What was "reviewed" and what was "ok" about it?
    Their suggestion was to open a different session for each Gmail account.
    "Different session." What does that mean?
    Gmail is a very bizarre email server. It was designed to be web-based, but due to demand, they made it pseudo-compatible with POP and IMAP.
    If you move email out of the Inbox, Mail will reply using the "default" email account, not necessarily the one that was originally associated with the message. Being that Gmail doesn't really have mailboxes or folders, but has tags it calls "Labels," it may have something to do with that issue.

  • The etag value \'\"1\"\' specified in one of the request headers is not valid. Please make sure only one etag value is specified and is valid.

    I try to receive data from a SharePoint List by using REST Services. (_vti_bin/ListData.svc)
    This approach worked fine for some days, until I get an error 400 with following error message:
    "The etag value 1 specified in one of the request headers is not valid. Please make sure only one tag value is specified and is valid."
    Hope anybody can help.
    Many thanks in advance.
    

    Hi,
    According to your post, my understanding is that you had an issue about retrieve data form list using REST in SharePoint 2010.
    I had created a simple demo to retrieve a list item, you can check with the following code snippets.
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    _spBodyOnLoadFunctionNames.push("callCSOM");
    function callCSOM()
    $("#Button1").click(function()
    ExecuteOrDelayUntilScriptLoaded(ready, "sp.js");
    function getListItemById(webUrl,listName, itemId, success, failure) {
    var url = webUrl + "/_vti_bin/listdata.svc/" + listName + "(" + itemId + ")";
    $.ajax({
    url: url,
    method: "GET",
    headers: { "Accept": "application/json; odata=verbose" },
    success: function (data) {
    success(data.d);
    error: function (data) {
    failure(data.responseJSON.error);
    function ready(){
    getListItemById('http://sp','ListB',2,function(data){
    alert(data.Title);
    function(error){
    console.log(JSON.stringify(error));
    </script>
    <input id="Button1" type="button" value="Run Code"/>
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • HT204053 i am having iphone3gs and ipod4s, is it possible the application that i have purchased in my iphone can be available in my i pod by doing payment only one time for the same application in my i phone...if yes,plz let me know hw it is possible

    i am having iphone3gs and ipod4s, is it possible the application that i have purchased in my iphone can be available in my i pod by doing payment only one time for the same application in my i phone...if yes,plz let me know hw it is possible..

    Open the App Store on your device.
    Make sure you are signed in with the same account used for the original purchase.
    Tap on Purchased from the bottom navigation bar.
    On iPhone or iPod touch, tap Updates from the bottom navigation bar, then tap Purchased.
    Locate the app in your Purchased tab.
    Tap the download button (cloud symbol)
    See also: http://support.apple.com/kb/HT2519?viewlocale=en_US&locale=en_US

Maybe you are looking for

  • What to Do When Your iPad is Not Charging?

    When you first bought your iPad, did you plug it into your PC and become frustrated when you discovered that it wouldn’t take a charge? Were you disappointed to discover that the iPad doesn’t charge through PCs and you have to plug it into the wall t

  • My keyboard is not working in "Pages" but works with all other applications.  Please provide resolution advice.

    My keyboard is not working in "Pages" but works with all other applications.  Please provide resolution advice.

  • Optimize my pdf file with Acrobat 10 pro

    I have always been able to optimize my pdf file with Acrobat 10 pro until now.  It gives me the following error.  Runtime error, This application has requested the Runtime to terminate it in an unusual way.  Please contact the applications support te

  • Customer credit balances to be paid via APP.

    Hi all My client  wants to return the credit balances on the customer accounts via APP. The APP has run and is issuing the cheques. The client wants a single cheque to be issued for multiple invoices of the customer. Please let me know the configurat

  • REP-1219 - frame has no size

    Hi All, When I run my report using Report builder 6i, it runs fine whereas I try to run using oracle apps it gives the below error "REP-1219: 'M_12' has no size -- length or width is zero" As said by one of the users in one of the old thread, i tried