Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


When hen copying an Excel cell content with Ctrl + C, a new line (hidden character) will append automatically at the end of the copied content as below screenshot shown.

Image RemovedImage Added

 If you want to use the cell content in the next action or plugin as a variable, you have to remove the new line break character. Please, do as follows.

Step-by-step guide

Multimedianamesample-excel01.mp4width80%height80%
  1. Create a user variable to save a cell content, Settings > User variable in Scenario ..
    Click "click here to add a new row" and  type "GroupName" & "VariableName". 
    I defined '"{{g1,G1.v1}}'".

    Image RemovedImage Added

  2. Select a cell you want to copy the content. You can use 'LocateImage' like this example.Image Removed
  3. Select 'X2 (double click)' in 'Click Type'.
    Image RemovedImage Added
  4. Add 'ShortcutKeys' and add key sequences, Home, LShift + End, LCtrl  + C. Of course, you can use RShift + End and RCtrl + C instead.
    Image Added
    Now, your cell data is selected and copied to clipboard.Image Removed
  5. Image Added

  6. Add 'SetVariables' and set 'Clipiboard' value to your previous defined variable, Image Removed

Sample Bot

Build on

  • STU: R19.0723
  • PAM: R19.0603

Prerequisite for running this bot

  • Excel
  • Notepad

How to run this bot

  1. Download and save a sample bot / excel file
  2. Run STU
  3. Select 'File > Import' and choose a download bot .
  4. Run your own Excel and open the sample excel file
  5. (Option) Capture a screenshot for LocateImage
  6. Run Notepad
  7. 'Run > Test Run' in STU
  1. Image Added