How to get Row, Column from a reference within a cell

showgun3

New Member
Joined
Apr 1, 2013
Messages
28
Hi I have several sheets that I gets data from for sales and then copy them through referencing to other sheets. I would like to use VBA to get the remainder of the data automatically once I copy the first column.
Usually I would do =+'Sheet1'!A1 from a different sheet onto Sheet2 for example, from here on onwards I would like to use VBA to get the Sheet reference, row and column, then add to the column to get the next column and fill b3 automatically and to auto update all data in cells C3, D3, and E3. What I cant figure out is how to get the relevant sheet name, row and column numbers from A3. If there is a way through <acronym title="visual basic for applications">VBA</acronym>, help me please. I am not very good with VBA, just started learning.

Example below:

ABCDE
11020304050
2
3=Sheet1!A1=+B1
4
5

<tbody>
</tbody>


The result in A3 will be 10 and B3 will be 20, now I want a function which can analyze A3 autofill B3, C3, D3 and E3 with 30, 40 and 50 respectively.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
I did not understand your goal but
Code:
nrow = range("A3").row
ncol = range("A3").column
 
Upvote 0
I want to get the sheet name from cell a3, and the row and column from the contents of cell a3. Can it be done.
 
Upvote 0

Forum statistics

Threads
1,214,589
Messages
6,120,416
Members
448,960
Latest member
AKSMITH

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
Back
Top