Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 116
Default Viewing Built-in Code

Greetings:

How do I view the code for a built-in macro? Specifically, I want to see
the code for "next sheet" and "previous sheet" (Crtl-PageUp & Ctrl-PageDown

Thanks in advance for your help.
--
Barry Carroll

(Cleverly disguised as a responsible adult)
---------
PSC Scanning, Inc. assumes no responsibility whatsoever for any statements
made by me. I''m entirely on my own.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default Viewing Built-in Code

If you are asking to view Excel's built-in commands code, you are out of luck.

Those are not macros, but written in whatever programming language the
developers use.


Gord Dibben MS Excel MVP


Fri, 17 Nov 2006 13:48:01 -0800, Barry wrote:

Greetings:

How do I view the code for a built-in macro? Specifically, I want to see
the code for "next sheet" and "previous sheet" (Crtl-PageUp & Ctrl-PageDown

Thanks in advance for your help.


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 116
Default Viewing Built-in Code

Gord:

Well, that's a disappointment. Thank you for the quick reply.

Best regards,

Barry Carroll

(Cleverly disguised as a responsible adult)
---------
PSC Scanning, Inc. assumes no responsibility whatsoever for any statements
made by me. I''m entirely on my own.


"Gord Dibben" wrote:

If you are asking to view Excel's built-in commands code, you are out of luck.

Those are not macros, but written in whatever programming language the
developers use.


Gord Dibben MS Excel MVP


Fri, 17 Nov 2006 13:48:01 -0800, Barry wrote:

Greetings:

How do I view the code for a built-in macro? Specifically, I want to see
the code for "next sheet" and "previous sheet" (Crtl-PageUp & Ctrl-PageDown

Thanks in advance for your help.



  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,489
Default Viewing Built-in Code

Hi,

Not sure if this is what you mean.

Turn on the macro recorder and do the action. For me it spat out this code.

ActiveSheet.Next.Select

But if you want MS actual code, then as Gord said, your out of luck.

Cheers
Andy

Barry wrote:
Greetings:

How do I view the code for a built-in macro? Specifically, I want to see
the code for "next sheet" and "previous sheet" (Crtl-PageUp & Ctrl-PageDown

Thanks in advance for your help.

  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 152
Default Viewing Built-in Code

Public Sub Standards()
'Standards Dates
ActiveSheet.Unprotect
Workbooks.Open Filename:="\Emerald
Calibrations\ECEquip\LabM\StandardsM.xls"
Continue
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
End Sub
Private Sub Continue()
'Copy, Cut, and Paste (Standards Dates)
Range("TE1.3:TN1.3").Select
Selection.Copy
ActiveWindow.ActivateNext
Range("TE1.1:TN1.1").Select
ActiveSheet.Paste
ActiveWindow.ActivatePrevious
Application.CutCopyMode = False
ActiveWindow.Close
End Sub

The above contains an example what I think you want. It opens a workbook
that contains test equipment data that is copied and pasted into a second
workbook, the first workbook is then closed. It works regardless of the name
of the second workbook and I only need update calibration and recall dates on
one workbook to keep them all current.
HTH
Lou


"Andy Pope" wrote:

Hi,

Not sure if this is what you mean.

Turn on the macro recorder and do the action. For me it spat out this code.

ActiveSheet.Next.Select

But if you want MS actual code, then as Gord said, your out of luck.

Cheers
Andy

Barry wrote:
Greetings:

How do I view the code for a built-in macro? Specifically, I want to see
the code for "next sheet" and "previous sheet" (Crtl-PageUp & Ctrl-PageDown

Thanks in advance for your help.


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
Text formatting Kace Excel Worksheet Functions 1 September 18th 06 08:28 PM
can you entre a bar code into a excel cell? basinghughes Excel Worksheet Functions 2 September 9th 05 06:32 PM
VLOOKUP for Zip Code Ranges JerseyJR Excel Worksheet Functions 2 September 6th 05 06:37 PM
Conform a total to a list of results? xmaveric Excel Discussion (Misc queries) 1 August 21st 05 07:22 PM
Macro for changing text to Proper Case JPriest Excel Worksheet Functions 3 August 8th 05 09:31 PM


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