Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 117
Default Transfer files & change file attributes with VBA ?

Using Excel 2007 / WinXP
The tasks at hand:
Use FTP to transfer a text file from a Unix Server to a Windows Server.
Remove "Read-only" attribute from "Job_Report.xls"
Open "Job_Report.xls"

*In "Job_Report.xls", Refresh a text import (from the text file just moved)
*For this part I have code that unprotects the sheet, refreshes the connection
then protects the sheet. The code is in a code module in "Job_Report.xls".

Close "Job_Report.xls" and set the "Read-only" attribute.

Is there a way to control the FTP program or access the file via another
method?
Can I set file attributes with VBA? How?
Many thanks.

Dave

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
How can you change cell attributes in a function?? naxo Excel Programming 2 November 20th 08 08:10 AM
Change username for file transfer KC Excel Programming 0 June 29th 07 04:56 PM
Data value display attributes linked to table attributes MDT at Paragon Home Inspections, LLC Charts and Charting in Excel 0 November 15th 06 12:53 AM
How do I change font attributes in a Concatenate statement? DHD58 Excel Worksheet Functions 3 May 29th 05 04:14 PM
change attributes of numberous textboxes Shawn[_9_] Excel Programming 2 August 6th 04 06:01 PM


All times are GMT +1. The time now is 08:16 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"