Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default changing the properties of an excel file

i have an excel file with different properties....
what i want to do is when i click a button i want the file to be save
and a certain status field to be selected and saved....
i thought this wud be donr using a macro...but when i record a
macro....and i go select file save as ...and it save then i stop the
record macro ...and when i view the code there i nothing....
and ideas....

thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 142
Default changing the properties of an excel file

try
ActiveWorkbook.Save

" wrote:

i have an excel file with different properties....
what i want to do is when i click a button i want the file to be save
and a certain status field to be selected and saved....
i thought this wud be donr using a macro...but when i record a
macro....and i go select file save as ...and it save then i stop the
record macro ...and when i view the code there i nothing....
and ideas....

thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 142
Default changing the properties of an excel file

Actually I should have also given you some more information on this, because
I have just encountered almost the same problem
with save as...
this is what Ron de Bruin suggested:

ActiveWorkbook.SaveAs FileName:="C:\NameOfYourWorksheet" & Format(Now,
"dd-mm-yy h-mm-ss") & ".xls"

It worked great for me and has a timestamp so previous copies do not get
overwritten.

"ufo_pilot" wrote:

try
ActiveWorkbook.Save

" wrote:

i have an excel file with different properties....
what i want to do is when i click a button i want the file to be save
and a certain status field to be selected and saved....
i thought this wud be donr using a macro...but when i record a
macro....and i go select file save as ...and it save then i stop the
record macro ...and when i view the code there i nothing....
and ideas....

thanks


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
Excel 2007 - Changing properties for Chart on Worksheet Barb Reinhardt Excel Discussion (Misc queries) 3 June 4th 09 08:24 PM
File Properties Modified Date not changing ALEX Excel Discussion (Misc queries) 0 February 6th 07 02:59 PM
Properties transferring from excel cells to word file properties lubo Excel Programming 4 July 12th 05 11:24 AM
How to stop Excel from changing the cell properties? Ikke Excel Discussion (Misc queries) 5 May 4th 05 10:12 PM
Changing the File Save Properties Kirk[_2_] Excel Programming 1 July 25th 03 07:20 PM


All times are GMT +1. The time now is 07:09 AM.

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

About Us

"It's about Microsoft Excel"