Any Excel macro experts here? - Saab General Bulletin Board - Saabnet.com
The banner above is an advertisment - if it asks you to download software, please ignore.
Site News - 7/1: Members: Log In to See Fewer Ads! | 5/28: SAAB Evolutions/TSN T-Shirts $14

[General | Members | C900 | 9000 | NG900 & OG93 | 93 | 95 | NG95 | 99 | Sonett | Vintage Models | Clubs | Other Cars | FAQs | Gifts | Member Photo Galleries | Member Directory | Classifieds | Manuals | *Buddy Registry | *Mileage Registry | Polls | What's New | Raffle | Photo of the Month | Sponsors]

General Bulletin Board
[Subscribe to Daily Digest]
(Search Author's Posts: e.g. Keyword:username)*Members Only


[Main General Bulletin Board | BBFAQ | Prev by Date | Next by Date | Post Followup ] Member Login / Signup - Members see fewer ads. - Latest Member Gallery Photos
Any Excel macro experts here?
Like This Post: - Subscribe to Daily Digest for this Bulletin Board
Posted by Rod [Email] (#3128) [Profile/Gallery] (more from Rod) on Wed, 28 Feb 2007 06:01:11 Share Post by Email
Alert me when someone posts in this thread:
Members do not see ads below this line. - Help Keep This Site Online - Signup

I am trying to automate a process that I do every week. As treasurer of a small non-profit animal shelter in my spare time I am responsible for calculating our weekly payroll. I have a spreadsheet that does the payroll calculations then puts the numbers on to a pay stub for each employee. Because I don't want to email the whole spreadsheet to the shelter manager each week (it's a large file), I have developed a simple macro that copies the pay stub information from my main file to a single worksheet file, with values instead of calculated numbers so it no longer needs to be linked to the original data. I then email this one worksheet to the shelter manager who distributes the pay stubs to the employees.

I also save a PDF of the file so we have copies of the actual paystubs on file. It's this part I'm having trouble automating since I want to save it with a different name each time. I call it "Paystubs 2-25-07" or whatever the pay period date is. I managed to get the title of the file in a cell in the workbook but I haven't figured out how to make it save the file as this name. I tried copying and pasting, but as soon as you hit "Save As" or "Print to PDF" the text you copy disappears from the clip board. I'm sure there must be a way of doing this?

Thanks
Rod


Posts in this Thread:
Alert me when someone posts in this thread:
Members do not see ads below this line. - Help Keep This Site Online - Signup
Post a Followup

No Site Registration is Required to Post - Site Membership is optional (Member Features List), but helps to keep the site online
for all Saabers. If the site helps you, please consider helping the site by becoming a member.

Name: Member Login / Signup - Members see fewer ads. - Latest Member Gallery Photos
E-Mail: (Optional)
Re-Enter E-Mail: (Confidential & Secure - Not revealed to other users!)
Note: Please check your spam folder for BB responses.

Subject:

Posting rules are simple - No for sale/wanted ads may be posted here - use the site classifieds.
You may not cross-post your message to multiple BBs.
Not permitted: political/religious topics and being disrespectful (personal attacks, insults, etc...).
Site Members do not see any red text, inline ad links, bottom of page anchor ads, box ads, or anti-spam check.

Message: (please no for sale/wanted classifieds - post those in the Saabnet.com Classifieds)
Links are now automatically made active, no need for any special code (or use the Option Link field below) - don't put links in () or end with a '.'
To add inline images to your post, use [img]http://www.domain.com/img.jpg[endimg] (or use the Optional Image Link field below).


Links are now automatically made active, no need for any special code (or use the Option Link field below) - don't put links in () or end with a '.'
To add inline images to your post above, use [img]http://www.domain.com/img.jpg[endimg] (or use the Optional Image Link field below).

Optional Link: (e.g. http://www.saabnet.com/)
Link Title: (Optional)
Optional Photo/Image Link: (e.g. http://www.saabnet.com/img.jpg)
Photo/Image to Upload: (Please be patient while file uploads)





StateOfNine.com
SaabClub.com
Jak Stoll Performance
M Car Covers
Ad Available

The content on this site may not be republished without permission. Copyright © 1988-2024 - The Saab Network - saabnet.com.
For usage guidelines, see the Mission & Privacy Notice.
[Contact | Site Map | Saabnet.com on Facebook | Saabnet.com on Twitter | Shop Amazon via TSN | Site Donations]

Random Saabnet.com Member Gallery Photos (Click Image)

This is a moderated bulletin board - Posting is a privilege, not a right. Unsolicited commercial postings are not allowed (no spam). Please, no For Sale or Wanted postings, SERIOUSLY. Classifieds are to be listed in The Saab Network Classifieds pages. This is a problem solving forum for over 250,000 Saab owners, so expect to see problems discussed here even though our cars are generally very reliable. This is not an anything goes type of forum. Saabnet.com has been a moderated forum since 1988. For usage guidelines, see the Saabnet.com Mission and Purpose Page. Please remember that you are not anonymous. Site Contact | Site Donations | Other Sites by SP - Poverty2Prosperity.org | Run Club Menlo Park | ScreenBot



Site Members do not see red text instructions, bottom of the page anchor ads, or box ads.
Click here to see all the Site Membership Benefits!