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 7th, 2002, 04:51 PM   #1
cocosoft
New Member
 
Join Date: May 2002
Location: Australia
Posts: 31
Default

How do I save a single specific sheet from a workbook as a seperate entity without all the rest of the workbook being saved too.

Would this saved sheet be auto updated if i did further work on the sheet within the workbook and just saved the workbook in its entirety.
cocosoft is offline   Reply With Quote
Old May 7th, 2002, 04:56 PM   #2
Yogi Anand
MrExcel MVP
 
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
Default

EDIT|MOVE_COPY_SHEET to a new workbook -- then save the new workbook.

Regards!
Yogi Anand is offline   Reply With Quote
Old May 7th, 2002, 04:57 PM   #3
Qroozn
Board Regular
 
Join Date: Mar 2002
Location: Sydney/Brisbane , Australia
Posts: 539
Default

to save a single sheet only you need to copy the sheet to another workbook and save the new workbook.

to enable what you want with autoupdating then you should
1. make sure calculations are set to manual
2. run the sheet calculation fxn(tools/options/calulation/calculate sheet) when you are in the neccesary sheet to be updated.

[ This Message was edited by: Qroozn on 2002-05-07 15:58 ]
Qroozn is offline   Reply With Quote
Old May 7th, 2002, 05:26 PM   #4
cocosoft
New Member
 
Join Date: May 2002
Location: Australia
Posts: 31
Default

Thanx Yogi!! Some sthings are so easy you fall over them. I'm a damn Fool and I don't care. Just love fooling with computers and learning, Al the time learning learning Ha Ha Ha
Good on Ya mate Cheers Coco
On 2002-05-07 15:56, Yogi Anand wrote:
EDIT|MOVE_COPY_SHEET to a new workbook -- then save the new workbook.

Regards!

[/quote]
cocosoft is offline   Reply With Quote
Old May 7th, 2002, 05:32 PM   #5
Yogi Anand
MrExcel MVP
 
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
Default

Hi cocosoft:
You are doing great buddy! any guy who will venture to write an invoicing program for a mate has got be a great guy.

Cheers!
Yogi Anand is offline   Reply With Quote
Old May 7th, 2002, 05:35 PM   #6
cocosoft
New Member
 
Join Date: May 2002
Location: Australia
Posts: 31
Default

Thanx to you too Qroozn
Just need to adjust the macro i was helped with earlier in the week to read my customer name cell, quote number cell, stitch em together copy sheet to new workbook and save as the resultant compound name. Any further sexy ideas on how I do that?
Don't strain the brain mate, you guys are so helpful you are making the learning curve a lot easier than I expected. Thanx again Coco
On 2002-05-07 15:57, Qroozn wrote:
to save a single sheet only you need to copy the sheet to another workbook and save the new workbook.

to enable what you want with autoupdating then you should
1. make sure calculations are set to manual
2. run the sheet calculation fxn(tools/options/calulation/calculate sheet) when you are in the neccesary sheet to be updated.

[ This Message was edited by: Qroozn on 2002-05-07 15:58 ]
[/quote]
cocosoft is offline   Reply With Quote
Old May 7th, 2002, 05:51 PM   #7
Qroozn
Board Regular
 
Join Date: Mar 2002
Location: Sydney/Brisbane , Australia
Posts: 539
Default

No worries coco.

I am actually doing the same thing as you for my company (except i am a trainee). I have got an invoicing program which on acceptance of a job finds the customer.. inserts their details in the invoice sheet, inserts a job number, and invoice number, and then saves the details to an external invoice database.

Its always fun to push your limits and see what you can amaze yourself with.
Qroozn is offline   Reply With Quote
Old May 7th, 2002, 05:52 PM   #8
NateO
Legend
 
NateO's Avatar
 
Join Date: Feb 2002
Location: Minneapolis, Mn, USA
Posts: 9,704
Default

May want to give the following a look:

Code:
Sub fsy()
fname = Sheets(2).[a1].Value & " " & _
Sheets(2).[a2].Value
Sheets(1).Copy 'Copy first sheet to a new workbook
ChDrive ("C") ' drive letter
ChDir ("c:temp") ' target directory
If fname <> "" Then 'make sure fname is not blank
    ActiveWorkbook.SaveAs Filename:=fname & ".xls"
    Else: MsgBox "Please Enter a value in A1 and retry."
End If
End Sub
change:
Sheets(2).[a1].Value & " " & _
Sheets(2).[a2].Value
To the appropriate sheets and ranges. Hope this helps.

_________________
Cheers, Nate
NateO is offline   Reply With Quote
Old May 7th, 2002, 06:13 PM   #9
cocosoft
New Member
 
Join Date: May 2002
Location: Australia
Posts: 31
Default

Thanks NateO
You people are too much, I've never before stumbled onto such a helpful group of people in all my life-- To all those offering Cocosoft help since i joined the board recently, give yourselves a bloody big pat on the back. I'm loving this, I'm usually on the other side of the coin answering questions for other people in my own areas of expertise, with rarely a "thank you" but you guys are the bees knees . Have a flaming great day, sure i'm going to have plenty more dumb questions for you all until such time as i learn a lot more. Reg to you all Coco
On 2002-05-07 16:52, NateO wrote:
May want to give the following a look:

Code:
Sub fsy()
fname = Sheets(2).[a1].Value & " " & _
Sheets(2).[a2].Value
Sheets(1).Copy 'Copy first sheet to a new workbook
ChDrive ("C") ' drive letter
ChDir ("c:temp") ' target directory
If fname <> "" Then 'make sure fname is not blank
    ActiveWorkbook.SaveAs Filename:=fname & ".xls"
    Else: MsgBox "Please Enter a value in A1 and retry."
End If
End Sub
change:
Sheets(2).[a1].Value & " " & _
Sheets(2).[a2].Value
To the appropriate sheets and ranges. Hope this helps.

_________________
Cheers, Nate
cocosoft is offline   Reply With Quote
Old Mar 13th, 2004, 09:15 PM   #10
Ed3m
New Member
 
Join Date: Mar 2004
Posts: 35
Default Re: How do I save a single specific sheet from a workbook

explain how you change fname
Ed3m 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 08:36 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