LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default autonumbering only when original file is opened

Good morning all.

I have created a form for users to fill in on a worksheet in a fil
named "IPR Test". It is designed so that the initial user will fil
out the first portion of cells, click a button at the bottom that wil
open another file (Log) and copy the data, save and close the log file
save the file, and send it via email. In cell V5, it has a formula t
add the next number (autonumber), and the file saves with this code:

FName = "\\Nfil108\qa\Shared Files\Testing\" & "IPR "
Range("A1").Value & ".xls"
ThisWorkbook.SaveCopyAs FileName:=FName

Everything works as it should with one little glitch. I need to b
able to turn the autonumbering formula off once the file has been save
with the new name. As it is now, when the e-mail recipients open th
file from their e-mail, it bumps up to the next number, when I want i
to stay the same. In other words, the only time I want the number t
increase is when the original file "IPR Test" is opened.

Any help would be greatly appreciated

:)

Thanks in advanc

--
Message posted from http://www.ExcelForum.com

 
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 to tell number of spaces between values in saved text file fromthe original xls file [email protected] Excel Discussion (Misc queries) 1 January 15th 08 11:52 AM
data missing in charts original file 97-2003 opened 2007 and then. Choir10 Charts and Charting in Excel 1 February 10th 07 05:36 PM
auto save excel file every 10 minutes to its original file name MEG Excel Discussion (Misc queries) 3 September 8th 05 07:12 PM
Auto save replaced my original file and now I need the original? Hols Excel Discussion (Misc queries) 1 August 15th 05 10:34 PM
How set file open path to filepath of file opened with Explorer ? RandyDtg1 Excel Programming 0 May 14th 04 02:05 AM


All times are GMT +1. The time now is 09:57 PM.

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"