Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Dynamic linking or referencing of cells

Hi,

I am writing a hobby application for which has the following:

Worksheet -- a cells B5:E5
B6:E6
B7:E7

Worksheet --b cells C5:F5 These cells contain the data
C6:F6
C7:F7

Now I want to do the following

a) link the data from Worksheet -- b to the cells in worksheet -- a
but I have the following problem,
When I click a "done" button for a certain row (say 5), C5 should be
deleted, and new data should be entered in the cells C5, C6, C7, to
F5, F6, F7 and now worksheet -- a should get automatically updated.

Is there any way to do it?


warm regards

karthik

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Dynamic linking or referencing of cells

Hi Don,

This is an example

Worksheet "B"

B C D E
5 Apple Pie Fruits 20.08.2007
6 Orange Juice Citrus 21.08.2007

Worksheet "A"

G H I
J K
21 Apple Pie Fruits 20.08.2007
Checkbox_for_done
22 Orange Juice Citrus 21.08.2007
Checkbox_for_done

Cells in worksheet A should be linked to worksheet B, I have managed
to do that with a simple =B!B5 etc

Now when I click Checkbox_for_done, the corresponding item in
worksheet "B" should be deleted/moved to another worksheet, their rows
shifted by 1 up, and worksheet "A" re-populated.

In the macro, for checkbox_for_done, I was thinking of using
something like this

Worksheets(sheetName).Cells(newRow, 2).Value =
Worksheets("Dashboard").Range("K35").Value

Now, the problem is two fold:

a) How to choose a row corresponding to the one that has been
clicked?

b) How to pass the data into the sub/macro

b) how to alter worksheet "B" and then repopulate worksheet "A"?


Thanks in advance,

karthik

Don Guillett wrote:
Examples of before/after

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"karthik" wrote in message
ps.com...
Hi,

I am writing a hobby application for which has the following:

Worksheet -- a cells B5:E5
B6:E6
B7:E7

Worksheet --b cells C5:F5 These cells contain the data
C6:F6
C7:F7

Now I want to do the following

a) link the data from Worksheet -- b to the cells in worksheet -- a
but I have the following problem,
When I click a "done" button for a certain row (say 5), C5 should be
deleted, and new data should be entered in the cells C5, C6, C7, to
F5, F6, F7 and now worksheet -- a should get automatically updated.

Is there any way to do it?


warm regards

karthik


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
Dynamic referencing to files Sungibungi Excel Discussion (Misc queries) 4 November 26th 09 02:19 AM
Dynamic file referencing? [email protected] Excel Worksheet Functions 1 October 9th 06 09:08 PM
referencing a dynamic array hke[_13_] Excel Programming 0 October 31st 04 06:33 PM
referencing a dynamic array hke[_12_] Excel Programming 1 October 29th 04 04:42 PM
Linking dynamic Cells in Excel to Form Novice Excel Programming 5 May 18th 04 03:46 AM


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