Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 36
Default How do I create a Range Name?

I want to create different ranges of cells to capture the content and
duplicate on another sheet or workbook using a macro.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10,593
Default How do I create a Range Name?

Just select the range of cells, hit Ctrl-F3, and add a name.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Curious" wrote in message
...
I want to create different ranges of cells to capture the content and
duplicate on another sheet or workbook using a macro.



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10,124
Default How do I create a Range Name?

or, select the cells and name in the NAME box to the left of the formula
box.
To do with a macro

sheets("yoursheet").range("a2:b5").name="newname"

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Curious" wrote in message
...
I want to create different ranges of cells to capture the content and
duplicate on another sheet or workbook using a macro.


  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 36
Default How do I change a macro for a range of cells to a RangeName?

Thank you for the answer. How would I change a macro that I recorded to use
a RangeName instead of the cell range? I am not that familiar with the VB
code.

Thanks


"Bob Phillips" wrote:

Just select the range of cells, hit Ctrl-F3, and add a name.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Curious" wrote in message
...
I want to create different ranges of cells to capture the content and
duplicate on another sheet or workbook using a macro.




  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 36
Default How do I change a macro to use a RangeName?

Thank you for the answer. How would I change a macro that I recorded to use
a RangeName instead of the cell range? I am not that familiar with the VB
code.


"Don Guillett" wrote:

or, select the cells and name in the NAME box to the left of the formula
box.
To do with a macro

sheets("yoursheet").range("a2:b5").name="newname"

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Curious" wrote in message
...
I want to create different ranges of cells to capture the content and
duplicate on another sheet or workbook using a macro.





  #7   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 36
Default How do I change a macro to use a RangeName?

Here is the code I have now:
ub Character()
'
' Character Macro
'
' Keyboard Shortcut: Ctrl+c
'
Range("A1:C3").Select
Selection.Copy
Range("G1").Select
ActiveSheet.Paste
End Sub

How do I change this to use aRangeName "CHARACTER" instead of the current
cell range? Thank you for your help.


"Don Guillett" wrote:

If you want help with code, post it for comments.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Curious" wrote in message
...
Thank you for the answer. How would I change a macro that I recorded to
use
a RangeName instead of the cell range? I am not that familiar with the VB
code.


"Don Guillett" wrote:

or, select the cells and name in the NAME box to the left of the formula
box.
To do with a macro

sheets("yoursheet").range("a2:b5").name="newname"

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Curious" wrote in message
...
I want to create different ranges of cells to capture the content and
duplicate on another sheet or workbook using a macro.




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
create range bar graph Aussie1497 Charts and Charting in Excel 2 April 26th 23 11:47 AM
Create a link to print a certain range AdamCPTD Excel Discussion (Misc queries) 1 July 17th 06 09:57 PM
Trying to create a range in an IF function dmorgenstern Excel Worksheet Functions 2 March 6th 06 07:26 PM
Create a list range Brick72 Excel Worksheet Functions 2 October 6th 05 06:40 PM
how do i create range names ? april Excel Worksheet Functions 1 September 5th 05 04:33 AM


All times are GMT +1. The time now is 10:10 PM.

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"