Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 709
Default help with code in a mack

How would I run this code in a mack. The command button will not activate on
the sheet
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default help with code in a mack

Hi Richard,

<this code

what code?

<mack

A Mac?


--
Kind regards,

Niek Otten
Microsoft MVP - Excel



"Richard" wrote in message ...
| How would I run this code in a mack. The command button will not activate on
| the sheet


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 709
Default help with code in a mack

Private Sub CommandButton1_Click()

Worksheets("Sent to Assembly").Range("A3:B100,c3:c100").Copy
Worksheets("Parts Sent to Assembly").Range("a65000").End(xlUp).Offset(1,
0).PasteSpecial
Worksheets("Sent to Assembly").Range("a3:a100,b3:B100").ClearContents
Worksheets("Schedule").Range("d1,L1,a3:a100,b3:B10 0,d3:d100").ClearContents


End Sub

"Niek Otten" wrote:

Hi Richard,

<this code

what code?

<mack

A Mac?


--
Kind regards,

Niek Otten
Microsoft MVP - Excel



"Richard" wrote in message ...
| How would I run this code in a mack. The command button will not activate on
| the sheet



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default help with code in a mack

Did you try the suggestions from yesterday?

Richard wrote:

How would I run this code in a mack. The command button will not activate on
the sheet


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 709
Default help with code in a mack

I don't know what you mean? Is it the same as in Windows? Thanks for your help


Private Sub CommandButton1_Click()

Worksheets("Sent to Assembly").Range("A3:B100,c3:c100").Copy
Worksheets("Parts Sent to Assembly").Range("a65000").End(xlUp).Offset(1,
0).PasteSpecial
Worksheets("Sent to Assembly").Range("a3:a100,b3:B100").ClearContents
Worksheets("Schedule").Range("d1,L1,a3:a100,b3:B10 0,d3:d100").ClearContents


End Sub

"Dave Peterson" wrote:

Did you try the suggestions from yesterday?

Richard wrote:

How would I run this code in a mack. The command button will not activate on
the sheet


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default help with code in a mack

Mac's don't support the objects from the control toolbox toolbar. You'll have
to replace it with a button from the Forms toolbar.

Then move the code from the worksheet to a general module. Maybe modify the
code. And assign the macro to that button.

Richard wrote:

I don't know what you mean? Is it the same as in Windows? Thanks for your help

Private Sub CommandButton1_Click()

Worksheets("Sent to Assembly").Range("A3:B100,c3:c100").Copy
Worksheets("Parts Sent to Assembly").Range("a65000").End(xlUp).Offset(1,
0).PasteSpecial
Worksheets("Sent to Assembly").Range("a3:a100,b3:B100").ClearContents
Worksheets("Schedule").Range("d1,L1,a3:a100,b3:B10 0,d3:d100").ClearContents

End Sub

"Dave Peterson" wrote:

Did you try the suggestions from yesterday?

Richard wrote:

How would I run this code in a mack. The command button will not activate on
the sheet


--

Dave Peterson


--

Dave Peterson
Reply
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
Mack and windows Richard Excel Discussion (Misc queries) 5 March 30th 08 12:26 AM
Drop Down/List w/Code and Definition, only code entered when selec Spiritdancer Excel Worksheet Functions 2 November 2nd 07 03:57 AM
Convert a Number Code to a Text Code Traye Excel Discussion (Misc queries) 3 April 6th 07 09:54 PM
Unprotect Code Module in Code Damien Excel Discussion (Misc queries) 2 April 18th 06 03:10 PM
copying vba code to a standard code module 1vagrowr Excel Discussion (Misc queries) 2 November 23rd 05 04:00 PM


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