Hi all,
I'm trying to write a bit of code that sums the value of a particular cell (in this case D4) in each of the worksheets in the application and returns the answer in a msgbox.
I've gotten this far but it doesn't work, any ideas?
Sub sumofD4()
Dim sumofD4()
Dim w As Integer
Dim i As...
Thanks for this Skip, works perfectly
I have to use Activecell cause it needs to be used on a number of tables, but I take your point where possible!
I also noticed that 'range' is taken from the key, and replaced by .cells, is this because? I'm not quite sure how it makes the correlation...
Hi all,
I'm trying to write a simple prgramme that will be able to sort the table according the column number that is entered into an input box. i'm trying this but it crashes every time:
Sub Macro1()
Dim n As Integer
Dim mycell As Range
n = InputBox("Please enter which column you would like...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.