Cell to reference another cell upon selection macro

Status
Not open for further replies.

jonattempt_cell

New Member
Joined
Mar 5, 2015
Messages
26
Hi I am looking to be able to select a cell containing text in a vertical range for example:
jan 1st to jan 31st in A1 to A31

When I select the cell containing the date for that month I would like the cells B1 to G31 Wrapped and aligned to the top left as one large cell to take large transcript text of several paragraphs from anther tab or page.

For example on another tab or page I would have several lines of text relating to the day that I would like to see in the region B1 to G31. So on sheet 2 A1 contains jan 1st B contains: sunny day nice weather. ( several spaces to initiate ne paragpaph in the region B1 to G31 on sheet 1 when the process works ) stormy day nice weather in toronto, more spaces, windy weather in pittsburgh, more spaces, rainy weather in London.

But that would be contained in one cell on sheet 2 B1.

The idea then is to have the 12 ranges ( months of the year ) and once a cell is selected the corresponding region to the right will populate in the text style ( wrap text, allign top left ) from what is on sheet 2 B1. Once it is selected it should stay in that reference in B1 to G31 , B31 to G62, B63 to G93 etc

To achieve this I have uploaded an image showing what I would like the finished result to achieve. In order to create the effect of having the paragraphs separated I'd need to use the same format as the cell and make the underscore to separate the text in white.

Once achieved I think this will be really great! I appreciate your help / consideration.
 

Attachments

  • Untitled picture.png
    Untitled picture.png
    50.2 KB · Views: 2

Some videos you may like

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Status
Not open for further replies.

Watch MrExcel Video

Forum statistics

Threads
1,122,356
Messages
5,595,681
Members
414,009
Latest member
SNesbyCarr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top