Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Jump to "Defined name" range!

Hi,

I need help on how to jump to a "defined name" cell using vba. Please
help!! Lets say that a defined name cell is "COST" fo cell A10, how
could I write a code to select that cell based on the defined name ?
Thanks


Tim,

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 644
Default Jump to "Defined name" range!

Range("COST").Select

HTH

Die_Another_Day

wrote:
Hi,

I need help on how to jump to a "defined name" cell using vba. Please
help!! Lets say that a defined name cell is "COST" fo cell A10, how
could I write a code to select that cell based on the defined name ?
Thanks


Tim,


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 380
Default Jump to "Defined name" range!

application.Goto range("COST")

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

wrote in message
ps.com...
Hi,

I need help on how to jump to a "defined name" cell using vba. Please
help!! Lets say that a defined name cell is "COST" fo cell A10, how
could I write a code to select that cell based on the defined name ?
Thanks


Tim,



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Jump to "Defined name" range!

just like if it wasn't named

Sub gotomynamedcells()
Range("mynamedcell").Select
End Sub

--
Don Guillett
SalesAid Software

wrote in message
ps.com...
Hi,

I need help on how to jump to a "defined name" cell using vba. Please
help!! Lets say that a defined name cell is "COST" fo cell A10, how
could I write a code to select that cell based on the defined name ?
Thanks


Tim,



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Jump to "Defined name" range!

Try that from another sheet.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Don Guillett" wrote in message
...
just like if it wasn't named

Sub gotomynamedcells()
Range("mynamedcell").Select
End Sub

--
Don Guillett
SalesAid Software

wrote in message
ps.com...
Hi,

I need help on how to jump to a "defined name" cell using vba. Please
help!! Lets say that a defined name cell is "COST" fo cell A10, how
could I write a code to select that cell based on the defined name ?
Thanks


Tim,







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 644
Default Jump to "Defined name" range!

Bob, how would you access a named ranget from another workbook?

Die_Another_Day

Bob Phillips wrote:
Try that from another sheet.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Don Guillett" wrote in message
...
just like if it wasn't named

Sub gotomynamedcells()
Range("mynamedcell").Select
End Sub

--
Don Guillett
SalesAid Software

wrote in message
ps.com...
Hi,

I need help on how to jump to a "defined name" cell using vba. Please
help!! Lets say that a defined name cell is "COST" fo cell A10, how
could I write a code to select that cell based on the defined name ?
Thanks


Tim,




  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 380
Default Jump to "Defined name" range!

Don't think you can in one move, need to select the other workbook, the
Goto.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Die_Another_Day" wrote in message
ps.com...
Bob, how would you access a named ranget from another workbook?

Die_Another_Day

Bob Phillips wrote:
Try that from another sheet.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Don Guillett" wrote in message
...
just like if it wasn't named

Sub gotomynamedcells()
Range("mynamedcell").Select
End Sub

--
Don Guillett
SalesAid Software

wrote in message
ps.com...
Hi,

I need help on how to jump to a "defined name" cell using vba.

Please
help!! Lets say that a defined name cell is "COST" fo cell A10, how
could I write a code to select that cell based on the defined name ?
Thanks


Tim,






  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 644
Default Jump to "Defined name" range!

I screwed around and got this to work:
Application.Goto Workbooks("Book1.xls").Sheets(1).Range("Test")

Die_Another_Day

Bob Phillips wrote:
Don't think you can in one move, need to select the other workbook, the
Goto.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Die_Another_Day" wrote in message
ps.com...
Bob, how would you access a named ranget from another workbook?

Die_Another_Day

Bob Phillips wrote:
Try that from another sheet.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Don Guillett" wrote in message
...
just like if it wasn't named

Sub gotomynamedcells()
Range("mynamedcell").Select
End Sub

--
Don Guillett
SalesAid Software

wrote in message
ps.com...
Hi,

I need help on how to jump to a "defined name" cell using vba.

Please
help!! Lets say that a defined name cell is "COST" fo cell A10, how
could I write a code to select that cell based on the defined name ?
Thanks


Tim,





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
Excel Message "user defined type not defined" LEELK01 Excel Discussion (Misc queries) 2 August 14th 09 07:31 AM
"User-defined type not defined" error when trying to send e-mail SupperDuck Excel Programming 9 August 2nd 06 07:36 AM
use variable in Workbooks("book1").Worksheets("sheet1").Range("a1" Luc[_3_] Excel Programming 2 September 28th 05 08:37 PM
"Application-defined or object-defined error" while printing excel report chemburkar Excel Programming 0 February 2nd 04 08:33 PM


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