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 Mar 30th, 2002, 06:44 AM   #1
Staticman
New Member
 
Join Date: Mar 2002
Location: Canberra AU
Posts: 7
Default


Hello I need some help (well a lot actually)
I have only just started with VBA and I am way out of my depth with this one.

I have a work Book with over 100 sheets each sheet represents a different site.
Each site has a different range of IP addresses (approx 3000)
with a name in the next column,
Only about 100 of these refer to printers.
These sites have all been updated with new printers and now I have a lot of work to do.

I have all the new IP Addresses and Printer Names and Types in some other workbooks
and I need to merge them with the first, also shortening the printer name and type.
For the Printer Name I need to keep the 02 03 etc as this indicates which server it's on.
For the Printer Type I also need to shorten the name to save on space and the printer
name needs to be in bold if it has been updated.
The printers IP ranges are the same for each site ie: 192.168.1.1 to 192.168.1.100

I know this is a lot to ask but any help would be appreciated

Dave



Work Book A
column A column B column c column d column e column f
IPAddress Server Comment IPAddress Server Comment
192.168.1.1 reserved 192.168.1.30 reserved
192.168.1.2 reserved 192.168.1.31 reserved
192.168.1.3 Sandman etc...
192.168.1.4 Nel
192.168.1.5 Joker
192.168.1.6 Vader
192.168.1.7 Luke
192.168.1.8 reserved
192.168.1.9 Han
192.168.1.10 Falcon
192.168.1.11 reserved
192.168.1.12 turner
192.168.1.13 reserved
192.168.1.14 OldGirl
192.168.1.15 reserved
192.168.1.16 reserved
192.168.1.17 reserved
192.168.1.18 reserved
192.168.1.19 reserved
192.168.1.20 reserved
etc....

Work Book B, C, D etc...
column A column B column c
IPAddress Server Comment
192.168.1.2 \MTT02PL1N17201 Xerox DocuPrint N17 PCL5e
192.168.1.3 \MTT02PL1N17202 Xerox DocuPrint N17 PCL5e
192.168.1.4 \MTT02PL1N17203 Xerox DocuPrint N17 PCL5e
192.168.1.7 \MTT02PL2OP201 Lexmark Optra SC 1275
192.168.1.8 \MTT02PL2OP202 Lexmark Optra SC 1276
192.168.1.9 \MTT02PL2OP203 Lexmark Optra SC 1277
192.168.1.11 \MTT03PL1OP204 Lexmark Optra S 1625
192.168.1.13 \MTT03PL2N32204 Xerox DocuPrint N24/N32/N40
192.168.1.15 \MTT02PL2N32205 Xerox DocuPrint N24/N32
192.168.1.16 \MTT03PL3C41101 Xerox DocuPrint C410 PS
192.168.1.17 \MTT02PL3HP5102 HP LaserJet 5000 Series PS
192.168.1.18 \MTT03PL3HP6103 HP LaserJet 6000 Series PS
etc....

Data merged into the First Work Book
column A column B column c column d column e column f
IPAddress Server Comment IPAddress Server Comment
192.168.1.1 reserved 192.168.1.30 reserved
192.168.1.2 02PL1N17201 Xerox N17 192.168.1.31 reserved
192.168.1.3 02PL1N17202 Xerox N18 etc...
192.168.1.4 02PL1N17203 Xerox N19
192.168.1.5 Joker
192.168.1.6 Vader
192.168.1.7 02PL2OP201 Optra SC 1275
192.168.1.8 02PL2OP202 Optra SC 1276
192.168.1.9 02PL2OP203 Optra SC 1277
192.168.1.10 Falcon
192.168.1.11 03PL1OP204 Optra S 1625
192.168.1.12 turner
192.168.1.13 03PL2N32204 Xerox N24/N32/N40
192.168.1.14 reserved
192.168.1.15 03PL2N32205 Xerox N24/N32
192.168.1.16 03PL3C41101 Xerox C410
192.168.1.17 02PL3HP5102 HP 5000
192.168.1.18 03PL3HP6103 HP 6000
192.168.1.19 reserved
192.168.1.20 reserved
etc....
Staticman is offline   Reply With Quote
Old Mar 30th, 2002, 10:37 AM   #2
RET79
Board Regular
 
Join Date: Mar 2002
Location: England, UK.
Posts: 526
Default

I would recommend you take a look at Data-Get External data-new database query.

i.e. I think that merging data can be done well with Microsoft Query, perhaps this is what you need to get started. Give it a try, there is a good help thing there for it too. Let us know how you get on.

HTH

RET79
RET79 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 11:01 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