Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Creating a range stack

Hi.

I have a range (A1:J10) named "Person_01". Cell J1 contains a hyperlink
called "Add_Person" with a label that says "Add a new person".

When the user clicks the hyperlink, "Person_01" should be copied and
inserted as "Person_02" right below "Person_01". The hyperlink at the
bottom of "Person_01" should change to "Delete this person" and the
hyperlink at the bottom of "Person_02" should still say "Add a new
person".

As new ranges are added, only the most current range will contain the
"Add a new person" hyperlink, with all former ranges containing the
"Delete this person" hyperlink.

I've already written code to add/delete ranges, but I'm having a hard
time tracking the range names as a "stack" so that I can name
new/existing ranges properly upon addition/deletion of a person.

Can somebody help me conceptualize this issue? I'm very new to VBA.

Thanks.
Michael


*** Sent via Developersdex http://www.developersdex.com ***
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
creating a filtered range/named range mark kubicki Excel Programming 1 November 4th 06 03:14 PM
Creating a stack to push/pull ranges John Wirt[_12_] Excel Programming 14 March 1st 06 08:40 AM
Can I use named range in data range box when creating pie chart? BJackson Charts and Charting in Excel 2 August 17th 05 05:37 PM
Creating range name for a range selection Mervyn Thomas Excel Programming 1 January 26th 04 05:18 PM
Creating an XL Range on the fly Chris Parker Excel Programming 3 August 19th 03 01:09 PM


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