PC Review


Reply
Thread Tools Rate Thread

CAN ANY BODY PLEASE HELP

 
 
K
Guest
Posts: n/a
 
      6th Aug 2008
Hi all, I am using excel 2007. in my sheet I got macro command "
Application.Dialogs(xlDialogWorkbookCopy).Show " set on a button.
When users click on this button then "Move or Copy" window appears so
they can Move or Copy the current sheet to some other file. Does any
friend know that what sort of code i add in my macro that when users
click the button and if they try to Move or Copy the current sheet
into non Excel Macro Enabled Workbook then MsgBox should appear
saying
"CONVERT THE DESTINATION FILE INTO EXCEL MACRO ENABLED WORKBOOK
FORMAT" but if they transfer to Excel Macro Enabled Workbook then
macro should do nothing. Please can any friend help.

 
Reply With Quote
 
 
 
 
Wigi
Guest
Posts: n/a
 
      6th Aug 2008
I don't think you can do that.

You'll probably have to script your own variant of Move and Copy. With the
applicable tests and restrictions.

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"K" wrote:

> Hi all, I am using excel 2007. in my sheet I got macro command "
> Application.Dialogs(xlDialogWorkbookCopy).Show " set on a button.
> When users click on this button then "Move or Copy" window appears so
> they can Move or Copy the current sheet to some other file. Does any
> friend know that what sort of code i add in my macro that when users
> click the button and if they try to Move or Copy the current sheet
> into non Excel Macro Enabled Workbook then MsgBox should appear
> saying
> "CONVERT THE DESTINATION FILE INTO EXCEL MACRO ENABLED WORKBOOK
> FORMAT" but if they transfer to Excel Macro Enabled Workbook then
> macro should do nothing. Please can any friend help.
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
body of exception meeting gets overwritten by body of series message recall failure delay? Microsoft Outlook Calendar 0 17th Sep 2008 05:56 PM
TaskItem.Body and AppointmentItem.Body = access violation (NULL pt =?Utf-8?B?S2F5YWtvIEluYy4=?= Microsoft Outlook VBA Programming 0 14th Aug 2007 12:36 AM
To reduce your body weight & slim your body Loss weight Windows Vista Installation 0 21st Jul 2007 12:18 AM
To reduce your body weight & slim your body Loss weight Windows Vista Installation 0 21st Jul 2007 12:11 AM
How can I distinguish the email body is plain text or html body? epjames Microsoft Outlook VBA Programming 10 2nd Sep 2004 01:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:19 PM.