LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Worksheet_Change /ActiveCell.CurrentRegion ?

I'm developing a workbook which needs to return
information of variable size from a source sheet to a
response sheet after the user inputs a parameter.

The data on SheetA is laid out with a partnumber and then
supporting information about that partnumber in following
rows. There are always 2 blank rows between partnumber
entries.

On a test macro, I was able to select all of the
information about a partnumber by using
ActiveCell.CurrentRegion.Select That result works fine
for me.

In general terms my approach is to create a
worksheet_change event macro tied to SheetB which will
clear an area, then go and find the appropriate info on
SheetA, copy it, and then paste it on SheetB in the
cleared area.

What I don't know is how to programmatically find the
right info on SheetA. I know how to select it once I find
it. But how do I find it in the first place?

Or to put it another way, how do you program the
equivalent of vlookups and match functions?

Thanks for your help
Drabbacs

P.S. I'm also willing to consider other approaches. This
was just my first design.
 
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
If activecell.column = variable then activecell,offset (0,1) Battykoda via OfficeKB.com Excel Discussion (Misc queries) 1 October 2nd 07 08:05 PM
currentregion flow23 Excel Discussion (Misc queries) 13 November 23rd 05 05:02 PM
CurrentRegion Selecting He4Giv Excel Programming 2 January 31st 04 07:13 PM
worksheet_change vs. calculate, and worksheet_change not running Tom Ogilvy Excel Programming 1 July 14th 03 02:51 AM
worksheet_change vs. calculate, and worksheet_change not running Ross[_5_] Excel Programming 0 July 13th 03 04:27 PM


All times are GMT +1. The time now is 03:48 PM.

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

About Us

"It's about Microsoft Excel"