LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old December 9th 05, 08:06 PM posted to microsoft.public.excel.worksheet.functions
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's Profile:
View this thread:

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 03: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 10:05 AM
select worksheet to run macro Hidaya Excel Discussion (Misc queries) 5 December 1st 04 11:54 PM

All times are GMT +1. The time now is 12:51 AM.

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

About Us

"It's about Microsoft Excel"


Copyright © 2017