Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
billrl34
 
Posts: n/a
Default Need help updating my macro to include a 2nd worksheet.


I have a workbook where sheet1, named Product, contains a macro. All a
person has to do is enter the product number on the Product sheet and
the macro looks on the next sheet called Product_Data and pulls all
details for that particular product. These details are then displayed
by the macro on Product sheet. Then by pressing ctl+shift+D, the next
product is pulled and displayed by the macro, automatically. I now have
a 2nd sheet of products called Product2_Data. I want my macro short-cut
key(ctrl+shift+D) to pull and display data from Product2_Data, too.
What do I need to add to my existing macro code for the macro to look
for details in the Product2_Data sheet? I have tried setting an array
(array("Product_Data", "Product2_Date"))in place of Product_Data. I get
a run time error that picksup the following code:

ActiveCell.Offset(0, 1).Range("A1").Select


--
billrl34
------------------------------------------------------------------------
billrl34's Profile: http://www.excelforum.com/member.php...o&userid=29533
View this thread: http://www.excelforum.com/showthread...hreadid=492296

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
Make a Macro take out rows and add it to new worksheet Vic Excel Discussion (Misc queries) 9 December 2nd 05 04:25 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
Cannat paste that macro formula onto a worksheet Stephen White Excel Discussion (Misc queries) 2 May 27th 05 11:58 AM
Executing macro for all worksheet from a different worksheet Biti New Users to Excel 3 December 8th 04 11:05 AM
select worksheet to run macro Hidaya Excel Discussion (Misc queries) 5 December 2nd 04 12:54 AM


All times are GMT +1. The time now is 01:23 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"