Programming Formulas

  • Thread starter Thread starter animal1881
  • Start date Start date
A

animal1881

Hey all! This is my first time here, my boss gave me an assignment an
I cant finish it. Maybe someone could please help me...

What I would like to do is take a single worksheet "sheet1" with lot
of data about individual circuit breakers entered row by row, and tur
each row into its own worksheet with data mapped to certain labele
cells on the new worksheet. Essentially making a single label page fo
each circuit breaker. If I change a value on sheet1, I would like th
value on the corresponding label page to change as well. I have trie
this:

LabelPage(lprow, lpcolumn) = sheet1(row,column)

but that only copies the data once. If I go back and change somethin
in sheet1, then I have to run the whole program over again.

I need to know how to set up excel formulas using vba, something lik
this:

Labelpage(lprow,lpcolumn) = "=worksheets('sheet1').range(row,column)"

but that doesnt work
 
set Labelpage = worksheets("Sheet3")
Labelpage.Cells(lprow,lpcolumn).formula = "=" & _
worksheets("sheet1"').range(row,column).Address(True, True,,True)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Excel 2013 Merge Data 2
loop to copy paste 5
Excel VBA 1
fill in data that is not empty 1
Creating Forms 2
Dynamic Array not response 5
Excel VBA help: Text file formatting 19
Copy Range of data using VBA 0

Back
Top