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: 17
Default VBA and 2002/2003/2000

I have Excel 2002.
I am using the following code behind a button:

Dim strFilePath, strFileName As String
strFileName = "BusSurv - " & ActiveSheet.Range("B1") & ".xls"
If strFileName = "BusSurv - .xls" Then
MsgBox "You did not enter a value!"
Exit Sub
End If
Dim x As Variant
x = Application.Dialogs(xlDialogSaveAs).Show(arg1:=str FileName)

It works in Excel 2002. When someone opens it in 2003, they get no message
about enabling macros, and when they click the button they get thrown into
VBA. I have not seen their machine yet to diagnose this, but what could be
happening? Also, I need to send the workbook to people who will likely have
Excel 2002. What will I have to do to make sure they can trun this?
 
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 2000 VBA App Now Works in Excel 2003, but not Excel 2002 bobkaku Excel Programming 0 March 11th 05 02:07 AM
Can you use excel 2003 version with excel 2002 and 2000 on a netw. cct Excel Discussion (Misc queries) 1 January 19th 05 12:11 AM
Why is it that RTD is only applicable for Excel 2002 and 2003 and not Excel 2000 Krish[_3_] Excel Programming 2 November 21st 03 09:11 AM
Excel 2000 and 2002 Tim Childs Excel Programming 3 October 22nd 03 01:23 AM
2000 vs 2002 xConstants Terry von Gease Excel Programming 2 September 7th 03 05:45 PM


All times are GMT +1. The time now is 08:49 PM.

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"