Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default Advice or tutorial on creating variables from clkipboard contents

Where can I find advice or a tutorial for creating a variable from
selected cell contents, i.e. from the clipboard content.

I have a relative macro that captures a string from one worksheet and
searches for the string in a second worksheet.

On finding the string in the second sheet, it returns to the
first sheet and picks up the sting in an adjacent cell and returns to
the second sheet and pastes the second string into a cell adjacent to
the 'found' cell.

The macro then returns to the first sheet and moves down one row,
preparatory to repeating the capture/switch/search/ etc routine.

It would be much simpler to make variables of each of the two strings
in the primary sheet , switch once to the secondary sheet, search for
the matching string with the first variable and than paste the second
variable into the adjacent 'found' cell.



Lindsay Rollo
Wellington, New Zealand
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8,856
Default Advice or tutorial on creating variables from clkipboard contents

Sounds like you are trying to do a VLOOKUP or INDEX/MATCH - look for
these in Excel Help - so why not just enter a formula and copy down?

Hope this helps.

Pete

On Oct 21, 11:43 pm, wrote:
Where can I find advice or a tutorial for creating a variable from
selected cell contents, i.e. from the clipboard content.

I have a relative macro that captures a string from one worksheet and
searches for the string in a second worksheet.

On finding the string in the second sheet, it returns to the
first sheet and picks up the sting in an adjacent cell and returns to
the second sheet and pastes the second string into a cell adjacent to
the 'found' cell.

The macro then returns to the first sheet and moves down one row,
preparatory to repeating the capture/switch/search/ etc routine.

It would be much simpler to make variables of each of the two strings
in the primary sheet , switch once to the secondary sheet, search for
the matching string with the first variable and than paste the second
variable into the adjacent 'found' cell.

Lindsay Rollo
Wellington, New Zealand



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Variables Programmically Brite Excel Discussion (Misc queries) 5 April 23rd 07 10:34 AM
Creating dummy variables in Excel ALEX Excel Worksheet Functions 0 November 30th 06 03:30 PM
Creating Entries Automatically from Variables zimbound Excel Discussion (Misc queries) 3 July 21st 06 03:43 AM
Advice on Creating an Excel Formula or Macro - PLEASE HELP!!!! So Tru Geo Excel Worksheet Functions 1 June 27th 06 07:15 PM
Creating a formula that will SUM with 2 Variables B Akers Excel Worksheet Functions 2 March 28th 06 06:34 AM


All times are GMT +1. The time now is 10:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"