Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

VBS script / MACROS arghhh!?

date posted 17th July 2001 13:36

Hi forum people,

I have a wee problem. I am a graphic designer (no that isn't the problem!) I
have reluctantly trained myself up in MS Excel for various techy projects
for my client (http://www.c-pro.net). the latest project has me stumped.
Basically the client has a secure admin area on their site. In this area the
client's technicians can download beautiful excel admin forms to their
heart's content... on each of these forms is a MACRO assigned to a graphic.
The code is as follows:

Private Sub Picture_Click ()
ActiveWorkbook. SendMail Recipients: [EMAIL REMOVED]

The idea being that they fill out their forms and 'SUBMIT' them to the Admin
HQ (temporarily [EMAIL REMOVED]

The problem seems to be that the MACRO seems to effect all open workbooks.
My client was happily typing away on a confidential PAYE structure document
in Excel... he also downloaded a timesheet from the site as a test and
SUBMITTED it to me... only problem... I received the confidential
document... OOPS!

How do I ensure the above doesn't happen? can the code above
(ActiveWorkbook) be changed to talk to JUST the downloaded document???...
can I get back to Photoshop now please?

regards

Adam




Messages by Day
July 31st 2001
July 30th 2001
July 29th 2001
July 28th 2001
July 27th 2001
July 26th 2001
July 25th 2001
July 24th 2001
July 23rd 2001
July 22nd 2001
July 21st 2001
July 20th 2001
July 19th 2001
July 18th 2001
July 17th 2001
July 16th 2001
July 15th 2001
July 14th 2001
July 13th 2001
July 12th 2001
July 11th 2001
July 10th 2001
July 9th 2001
July 8th 2001
July 7th 2001
July 6th 2001
July 5th 2001
July 4th 2001
July 3rd 2001
July 2nd 2001
July 1st 2001


Messages by Month
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
January 2001


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000