Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ron Ron is offline
external usenet poster
 
Posts: 250
Default Making a call to a differnt sheet

Should be simple, but I'm stuck. Please help.

The below code works fine working from a sheet named FEATURES:

Dim n_RowNumber = As String
n_RowNumber = 24
n_Named_Symbology_Create = ActiveSheet.Cells(n_RowNumber, "B")

I need to call the n_... variable from a sheet named 'NS'.
How do I code for the sheet NS vs. ActiveSheet?

Thanks, Ron
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Making a call to a differnt sheet

n_Named_Symbology_Create = Sheets("NS").Cells(n_RowNumber, "B")
--
HTH...

Jim Thomlinson


"Ron" wrote:

Should be simple, but I'm stuck. Please help.

The below code works fine working from a sheet named FEATURES:

Dim n_RowNumber = As String
n_RowNumber = 24
n_Named_Symbology_Create = ActiveSheet.Cells(n_RowNumber, "B")

I need to call the n_... variable from a sheet named 'NS'.
How do I code for the sheet NS vs. ActiveSheet?

Thanks, Ron

  #3   Report Post  
Posted to microsoft.public.excel.programming
Ron Ron is offline
external usenet poster
 
Posts: 250
Default Making a call to a differnt sheet

Thank you! That was the solution. I tried mutltiple variations but just could
not 'hit' it right.
Ron

"Jim Thomlinson" wrote:

n_Named_Symbology_Create = Sheets("NS").Cells(n_RowNumber, "B")
--
HTH...

Jim Thomlinson


"Ron" wrote:

Should be simple, but I'm stuck. Please help.

The below code works fine working from a sheet named FEATURES:

Dim n_RowNumber = As String
n_RowNumber = 24
n_Named_Symbology_Create = ActiveSheet.Cells(n_RowNumber, "B")

I need to call the n_... variable from a sheet named 'NS'.
How do I code for the sheet NS vs. ActiveSheet?

Thanks, Ron

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 182
Default Making a call to a differnt sheet

Hi,

How about :
Public n_Named_Symbology_Create

'Place in event sheetActivate in the sheet("NS") module :

Sheets("NS").Cells(n_RowNumber, "B") = n_Named_Symbology_Create

--

Regards,

Halim


"Ron" wrote:

Should be simple, but I'm stuck. Please help.

The below code works fine working from a sheet named FEATURES:

Dim n_RowNumber = As String
n_RowNumber = 24
n_Named_Symbology_Create = ActiveSheet.Cells(n_RowNumber, "B")

I need to call the n_... variable from a sheet named 'NS'.
How do I code for the sheet NS vs. ActiveSheet?

Thanks, Ron

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
Making a Pivot chart from 3 differnt sets of data / worksheets. spudsnruf Charts and Charting in Excel 0 September 2nd 09 04:43 PM
Too Many differnt Cell Formats in excel sheet Bishnu Excel Discussion (Misc queries) 2 July 7th 09 06:03 PM
Too Many differnt Cell Formats in excel sheet Bishnu[_2_] Excel Discussion (Misc queries) 0 July 7th 09 04:48 PM
Copy sheet cells into differnt workbook/sheet, How? IVLUTA Excel Discussion (Misc queries) 2 June 2nd 09 11:16 PM
Making a Call to an external sheet using a variable... [email protected] Excel Worksheet Functions 2 January 19th 07 03:19 PM


All times are GMT +1. The time now is 04:16 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"