Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Saving in VBA


Hi everyone,

I know how to save a spreadsheet using VBA, but I want to move/copy th
file
after it has been saved, is this possible?

I am creating a system where spreadsheets get dropped into an Inbo
folder
(e.g. c:\Inbox) folder and then moved or copied to an Outbox folde
(e.g.
c:\Outbox), once they have been edited and saved.

I wish to attached some code to a button that prompts the user (with
dialogue box), saves the spreadsheet, moves or copies the folder to th
outbox, and then close the file down.

I understand this can be done using the saveas function and the kil
function (to delete the file in the inbox), but my VBA knowledge i
only basic and I am having trouble executing the code.

Could someone please help me with the code? Any help would be muc
appreciated.

Thanks in advance.


Pinda

--
Pind
-----------------------------------------------------------------------
Pinda's Profile: http://www.excelforum.com/member.php...nfo&userid=117
View this thread: http://www.excelforum.com/showthread.php?threadid=27608

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automaticly saving formula's to values when saving Gunti Excel Discussion (Misc queries) 8 November 11th 08 09:34 AM
Saving gregory.barrett Excel Discussion (Misc queries) 0 March 13th 06 09:29 PM
saving to CD agilitygrandma Excel Discussion (Misc queries) 8 January 20th 06 08:24 PM
Saving a Workbook: Forcing User to Rename before Saving Rollin_Again[_6_] Excel Programming 5 April 16th 04 02:54 PM
saving D[_3_] Excel Programming 3 August 27th 03 08:59 AM


All times are GMT +1. The time now is 10:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"