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: 6
Default Daily Report Template

I have some daily reports templates set up to open and save with a date
related name in a preset folder.
I have them working so that if the file already exists with the date in name
it will add (x). Example C:\MyReports\DailyReport 12-25-09(1).xls for the
second time template is used.
I would like to use a msgbox to give the user a choice of reopening the
first copy rather than making a second.
I have it set up to work except my statements for opening the first file
does not open it.

sample of my code:
If Ans = vbYes Then
Me.Close SaveChanges:=False
Dim wb1 As Workbook
wb1 = Workbooks.Open(myPath & myFile & myExt)
wb1.Activate
wb1.visble = True
Can anyone tell me what I am doing wrong here.
Thanks
SC

--
SC from Lubbock, Texas
 
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
Where can I find a Outside Sales Daily Call Report Template? Paul Excel Discussion (Misc queries) 1 April 20th 10 04:03 PM
Macro to Open Daily Report KurtB Excel Discussion (Misc queries) 2 September 9th 08 02:14 PM
Automation of report, daily, monthly then yearly as per need [email protected] Excel Programming 0 January 14th 08 04:34 AM
daily cash report dave Excel Worksheet Functions 1 October 16th 07 04:44 PM


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