MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old May 1st, 2002, 01:40 PM   #1
Steve Shakeshaft
New Member
 
Join Date: Apr 2002
Posts: 4
Default

I'm a new user to XL2000, but I have managed to get an automated advice note system to nearly work! I input details of the goods to be shipped into an input zone, press "ctrlW" and the macro- Writes the information into the Advice note, pastes a copy to a different worksheet as a "record", prints the advice note out and saves the file. I need to do the following changes but do not know how.

1 Before it saves I need to update a cell by incrementing a "counter" by 1 to prepare for the next advice note.

2 When it pastes the "record" copy it always overwrites the prviously pasted copy.

3 I have a worksheet with about 100 addresses, the "consignees". I can't find a way to "select a consignee" and paste the result into the advice note.

Thanks for your help, I hope these are not too many questions for my first post.


Steve Shakeshaft is offline   Reply With Quote
Old May 1st, 2002, 02:35 PM   #2
Mark O'Brien
MrExcel MVP
 
Mark O'Brien's Avatar
 
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
Default

Quote:
On 2002-05-01 12:40, Steve Shakeshaft wrote:
I'm a new user to XL2000, but I have managed to get an automated advice note system to nearly work! I input details of the goods to be shipped into an input zone, press "ctrlW" and the macro- Writes the information into the Advice note, pastes a copy to a different worksheet as a "record", prints the advice note out and saves the file. I need to do the following changes but do not know how.

1 Before it saves I need to update a cell by incrementing a "counter" by 1 to prepare for the next advice note.

2 When it pastes the "record" copy it always overwrites the prviously pasted copy.

3 I have a worksheet with about 100 addresses, the "consignees". I can't find a way to "select a consignee" and paste the result into the advice note.

Thanks for your help, I hope these are not too many questions for my first post.


1. Let's assume that the counter is on Sheet1 cell A1, you would put this before your save command:

Sheets("Sheet1").Range("A1").Value = Sheets("Sheet1").Range("A1").Value + 1


2. Yup. This doesn't sound like this is what you want it to do. So what do you want it to do?

3. What ways have you tried and what kind of solution are you looking for?

Basically, we need a bit more detail on 2 and 3. Both sound very doable. Not a bad attempt at a first post.
__________________
Mark O'Brien

Columbus Ohio Celtic Supporters Club
Mark O'Brien is offline   Reply With Quote
Old May 1st, 2002, 02:56 PM   #3
Steve Shakeshaft
New Member
 
Join Date: Apr 2002
Posts: 4
Default

Quote:
On 2002-05-01 13:35, Mark O'Brien wrote:
Quote:
On 2002-05-01 12:40, Steve Shakeshaft wrote:
I'm a new user to XL2000, but I have managed to get an automated advice note system to nearly work! I input details of the goods to be shipped into an input zone, press "ctrlW" and the macro- Writes the information into the Advice note, pastes a copy to a different worksheet as a "record", prints the advice note out and saves the file. I need to do the following changes but do not know how.

1 Before it saves I need to update a cell by incrementing a "counter" by 1 to prepare for the next advice note.

2 When it pastes the "record" copy it always overwrites the prviously pasted copy.

3 I have a worksheet with about 100 addresses, the "consignees". I can't find a way to "select a consignee" and paste the result into the advice note.

Thanks for your help, I hope these are not too many questions for my first post.


1. Let's assume that the counter is on Sheet1 cell A1, you would put this before your save command:

Sheets("Sheet1").Range("A1").Value = Sheets("Sheet1").Range("A1").Value + 1


2. Yup. This doesn't sound like this is what you want it to do. So what do you want it to do?

3. What ways have you tried and what kind of solution are you looking for?

Basically, we need a bit more detail on 2 and 3. Both sound very doable. Not a bad attempt at a first post.
Mark, Well, I find your last comment most flattering! Anyhow, yes Item #1 now sorted thanks.

Now item #2- More specifically, I need each run of the macro to save the advice note alongside/below the previous one. So that I have a ready back up or reference for each advice note.

item #3- I've tried various themes around a macro to "Select the row containing the consignee details (mainly address), copy it, change to the advice note worksheet, paste the consignee details." Trouble is then that the macro selects the same details each time and pastes the entire copied row across the worksheet. So I need to "select the (1 out of 100+ rows) row, copy the details, paste and format (somehow) to fit the advice note properly."

Steve Shakeshaft is offline   Reply With Quote
Old May 1st, 2002, 09:45 PM   #4
Mark O'Brien
MrExcel MVP
 
Mark O'Brien's Avatar
 
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
Default

What's an advice note? IS it just text in a cell? Is it a comment? Is it a textbox? OR something more sinister?
__________________
Mark O'Brien

Columbus Ohio Celtic Supporters Club
Mark O'Brien is offline   Reply With Quote
Old May 2nd, 2002, 01:58 AM   #5
Steve Shakeshaft
New Member
 
Join Date: Apr 2002
Posts: 4
Default

Quote:
On 2002-05-01 20:45, Mark O'Brien wrote:
What's an advice note? IS it just text in a cell? Is it a comment? Is it a textbox? OR something more sinister?
Sorry about that, when I ship out a refurbished pump or valves or something, it is the piece of paper that advises the shipper where to take it and the consignee what's inside the box. So, more related to XL, it is a range of cells formatted to look like a form when printed out.

_________________
Thanks and regards

Steve
steve@ukbeg.com

[ This Message was edited by: Steve Shakeshaft on 2002-05-02 01:00 ]
Steve Shakeshaft is offline   Reply With Quote
Old May 2nd, 2002, 02:04 AM   #6
Tom Schreiner
Board Regular
 
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
Default

Steve, email the sheet if you'd like.
TsTom@HotMail.Com
Tom
Tom Schreiner is offline   Reply With Quote
Old May 2nd, 2002, 04:30 AM   #7
Steve Shakeshaft
New Member
 
Join Date: Apr 2002
Posts: 4
Default

Quote:
On 2002-05-02 01:04, TsTom wrote:
Steve, email the sheet if you'd like.
TsTom@HotMail.Com
Tom
OK, I'll do that. I have managed to fix problem #3. Now I am real stuck with problem #2.


_________________
Thanks and regards

Steve
steve@ukbeg.com

[ This Message was edited by: steve shakeshaft on 2002-05-02 03:41 ]
Steve Shakeshaft is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 09:54 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes