PC Review


Reply
Thread Tools Rate Thread

Copy a Module - Please Help me decipher the Pearson Code

 
 
=?Utf-8?B?Q01B?=
Guest
Posts: n/a
 
      21st Sep 2007
I bel[ieve that the solution to my problem is at
http://www.cpearson.com/excel/vbe.aspx, but as a new VBA user I am having
trouble deciphering the code.

My current process: I am creating an excel file that is a timesheet. When
the user is complete, they email a copy of their timesheet. In my current
process information is copied to a new workbook, cells are copied and pasted
as values, the original workbook is closed, and the new file is appended to
an MS Outlook Email.

What I need to accomplish: in the file that is created and attached to the
email, I need to move a module of code. I'm not sure where to fit it in the
process, and I'm a bit new with VBA.

There is a chance that users will rename their timesheet file. How do I
modify the Pearson code to include:

- Source File Name that may have a unique name
- Destination File which is programmed to have the following file
nameTempFileName = Range("C5").Value & " " & Format(Range("C4").Value,
"dd-mmm-yy")

Please keep in mind that I am new to VBA and don't know all the
"Requirements" of code...
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can someone decipher this code for me =?Utf-8?B?VEtN?= Microsoft Access VBA Modules 1 5th Sep 2007 06:33 PM
?Module code copy gabch Microsoft Excel Programming 2 24th Apr 2006 07:29 AM
Copy a code module =?Utf-8?B?cXVhcnR6?= Microsoft Excel Programming 2 11th Apr 2005 08:01 PM
Copy module with code - amendment Stuart Microsoft Excel Programming 2 1st Nov 2004 07:40 AM
Is it possible to copy a code module using VBA? =?Utf-8?B?cXVhcnR6?= Microsoft Excel Programming 2 15th Apr 2004 09:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:27 AM.