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: 1
Default Make button to print Multiple occurences of item based on input


Hi all and thanks for such an AMAZING site! You've vicariously gotten me
out of several programming jams in the past, and I'm now a little
embarrassed to find myself between a code and a hard place.

I am writing (trying, anyway) VBA to do the following:

Once a macro is executed, excel looks at rows that have the following
information:

ColA ColB ColC ColD
ITEM# SLOT# DESCRIPTION # of Labels
5301 DF212 Black Beans 5
1624 CA172 Rice 2

I need to tell excel to (on a different sheet) create:

5301
Black Beans
DF212
5301
Black Beans
DF212
5301
Black Beans
DF212
5301
Black Beans
DF212
5301
Black Beans
DF212
1624
Rice
CA172
1624
Rice
CA172

...and so on. In other words, I need it to repeat the insert of the
Item#, Slot# and Description specified by what is entered for the #of
Labels.

Having been a great fan of this site for some time now, I know better
than to ask for a simple "Do it for me". Getting there is half the fun,
so they say. Any help or pointing in the right direction or hints or
clues or web site references would be incredibly appreciated.

Thanks again for such an awesome forum!

Jim C.


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements
 
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
Can I put button on spreadsheet to make it print a specific part? CindyMc Excel Worksheet Functions 2 October 26th 09 07:33 PM
Can I make a picture change based on input from a user? Christop Excel Discussion (Misc queries) 5 September 25th 09 12:52 AM
pull data from multiple sheets based on input Patti Excel Worksheet Functions 3 February 27th 07 09:31 PM
Make a 'Print button' BrianT New Users to Excel 2 June 30th 06 09:57 PM
NEED TO MAKE THE PRINT BUTTON FUNCTION IN WORKSHEET dlc-forbes Excel Worksheet Functions 2 April 9th 06 01:11 PM


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

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"