Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Met,
As the lead comments in the sub indicate, you still need to use the two support functions in my other post. Here they are again: Function bBookIsOpen(wbkName) As Boolean ' Checks if a specified workbook is open. ' ' Arguments: wbkName The name of the workbook ' ' Returns: True if the workbook is open Const sSource As String = "bBookIsOpen()" Dim x As Workbook On Error Resume Next Set x = Workbooks(wbkName) bBookIsOpen = (Err = 0) End Function Function bFileExists(fileName As String) As Boolean ' Checks if a file exists in the specified folder ' ' Arguments: fileName The fullname of the file ' ' Returns: TRUE if the file exists Const sSource As String = "bFileExists()" On Error Resume Next bFileExists = (Dir$(fileName) < "") End Function Regards, Garry |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Done deal... Thanks.. One more thing: I need the date to be in the format FEB 2006, I still need the date to back up one month but abbreviate the date and display the year. Once again.. Thanks, Met -- Metrazal ------------------------------------------------------------------------ Metrazal's Profile: http://www.excelforum.com/member.php...o&userid=31648 View this thread: http://www.excelforum.com/showthread...hreadid=518833 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Done deal... Thanks.. One more thing: I need the date to be in the format FEB 2006, I still need the date to back up one month but abbreviate the date and display the year. Once again.. Thanks, Met -- Metrazal ------------------------------------------------------------------------ Metrazal's Profile: http://www.excelforum.com/member.php...o&userid=31648 View this thread: http://www.excelforum.com/showthread...hreadid=518833 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Met,
Modify as follows: sNewName = UCase$(left(monthname(month(date)-1),3)) & " " & year(date) Regards, Garry "Metrazal" wrote: Done deal... Thanks.. One more thing: I need the date to be in the format FEB 2006, I still need the date to back up one month but abbreviate the date and display the year. Once again.. Thanks, Met -- Metrazal ------------------------------------------------------------------------ Metrazal's Profile: http://www.excelforum.com/member.php...o&userid=31648 View this thread: http://www.excelforum.com/showthread...hreadid=518833 |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Once again.. Many thanks.. -- Metrazal ------------------------------------------------------------------------ Metrazal's Profile: http://www.excelforum.com/member.php...o&userid=31648 View this thread: http://www.excelforum.com/showthread...hreadid=518833 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I copy spreadsheet data as shown to another spreadsheet? | Excel Discussion (Misc queries) | |||
In Excel I want to copy text from spreadsheet to spreadsheet | Excel Worksheet Functions | |||
Unable to copy another spreadsheet to the current spreadsheet with | Excel Programming | |||
using vba copy data from .csv file into an excel spreadsheet | Excel Programming | |||
How to open another Excel spreadsheet to copy data into current spreadsheet ? | Excel Programming |