Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Selecting Workbooks

Hello Everyone!

I've had a good search for this but had no luck
I want to select a workbook using the
Worksheets(5).Select type syntax

But I to be able to set the first number according to the
sheet that is currently active using Worksheets
(mysheet).Select
Where mysheet is an integer

I think the code will look something like this
mysheet = activesheet.position (but don't know the
correct property for .position)

Can anyone help?

TIA

Sxx






  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Selecting Workbooks

Hi
why do you want to select it?. Normally no reason for this

--
Regards
Frank Kabel
Frankfurt, Germany

"Sohpie" schrieb im Newsbeitrag
...
Hello Everyone!

I've had a good search for this but had no luck
I want to select a workbook using the
Worksheets(5).Select type syntax

But I to be able to set the first number according to the
sheet that is currently active using Worksheets
(mysheet).Select
Where mysheet is an integer

I think the code will look something like this
mysheet = activesheet.position (but don't know the
correct property for .position)

Can anyone help?

TIA

Sxx







  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 430
Default Selecting Workbooks

CurrSht As Integer
CurrSht = ActiveSheet.Index


"Sohpie" wrote in message
...
Hello Everyone!

I've had a good search for this but had no luck
I want to select a workbook using the
Worksheets(5).Select type syntax

But I to be able to set the first number according to the
sheet that is currently active using Worksheets
(mysheet).Select
Where mysheet is an integer

I think the code will look something like this
mysheet = activesheet.position (but don't know the
correct property for .position)

Can anyone help?

TIA

Sxx








  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Selecting Workbooks


Hi,
I'm not sure about your question, but maybe you're lookin fo
ActiveSheet.Index ?

Jare

--
Jare
-----------------------------------------------------------------------
Jarek's Profile: http://www.excelforum.com/member.php...info&userid=96
View this thread: http://www.excelforum.com/showthread.php?threadid=26721

  #5   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Selecting Workbooks

Hi Frank

There's a long process I need to go through
Very difficult to explain
Rather than just boring everyone I thought I'd ask the
simple question

What's the property for
mysheet = activesheet.position in workbook
If someone can give it to me then great
Or if someone can tell me it's impossible fine too
I'll just find a work around

Sophie



-----Original Message-----
Hi
why do you want to select it?. Normally no reason for

this

--
Regards
Frank Kabel
Frankfurt, Germany

"Sohpie" schrieb

im Newsbeitrag
...
Hello Everyone!

I've had a good search for this but had no luck
I want to select a workbook using the
Worksheets(5).Select type syntax

But I to be able to set the first number according to

the
sheet that is currently active using Worksheets
(mysheet).Select
Where mysheet is an integer

I think the code will look something like this
mysheet = activesheet.position (but don't know the
correct property for .position)

Can anyone help?

TIA

Sxx







.



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Selecting Workbooks

Hi Jarek

That's exactly what I'm looking for!

thanks Jarek

Sx

-----Original Message-----

Hi,
I'm not sure about your question, but maybe you're

lookin for
ActiveSheet.Index ?

Jarek


--
Jarek
---------------------------------------------------------

---------------
Jarek's Profile: http://www.excelforum.com/member.php?

action=getinfo&userid=965
View this thread:

http://www.excelforum.com/showthread...hreadid=267212

.

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Selecting Workbooks

That's Great

Thanks Jim

Sx


-----Original Message-----
CurrSht As Integer
CurrSht = ActiveSheet.Index


"Sohpie" wrote in

message
...
Hello Everyone!

I've had a good search for this but had no luck
I want to select a workbook using the
Worksheets(5).Select type syntax

But I to be able to set the first number according to

the
sheet that is currently active using Worksheets
(mysheet).Select
Where mysheet is an integer

I think the code will look something like this
mysheet = activesheet.position (but don't know the
correct property for .position)

Can anyone help?

TIA

Sxx








.

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
Updating Workbooks from multiple links Workbooks TimJames Excel Worksheet Functions 1 December 15th 07 03:34 PM
Copy/ move selected data from workbooks to seperate worksheets or workbooks Positive Excel Worksheet Functions 1 August 30th 07 04:54 PM
Display 2 formulas from source workbooks to destination workbooks Excel_seek_help Excel Discussion (Misc queries) 4 April 27th 06 08:13 PM
suddenly my excel workbooks are "shared workbooks" Maggie's mom Excel Discussion (Misc queries) 1 August 28th 05 09:20 PM
Workbooks.Open closes other workbooks S. Daum Excel Programming 1 August 21st 03 07:47 PM


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