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: 2
Default Calling macros width arguments in winxp

Dear All,

I need your help.

What I have is a woorbook wih a lot o sheets and in the first sheet I
put a button for each sheet associated with a macro and a argument
('gotows "sheet1"'), wich is the name of worksheet that I want to
jump.
This is the code:

Public Sub gotows(m As String)
ActiveWorkbook.Worksheets(m).Activate
End Sub

And it work fine in my win2k pro with excel 2002.

But when I try to run it on a winxp, also with excel 2002, the actions
associated with buttons 'gotows "sheet1"' do nothing. But if I call a
macro without any arguments it work fine. The problems is just the
macros with args.

Can you help me please,

Isidro
 
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
CALLING MACROS FROM A NEW WORKSHEET NSNR Excel Discussion (Misc queries) 4 February 1st 08 07:10 AM
calling macros from worksheet to another NSNR Excel Discussion (Misc queries) 3 October 27th 07 01:49 PM
Calling macros in another workbook Nick Wright Excel Worksheet Functions 1 January 12th 06 04:03 PM
xyScatterChart macro works on WinXP Pro & not on WinXP Home? [email protected] Excel Discussion (Misc queries) 0 July 18th 05 12:30 AM
Calling macros from another XL Workbook jamesa Excel Programming 1 October 2nd 03 03:06 PM


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