ExKel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to direct a macro to enter data in the cell I have currently selected. Right now my destination is set to range "$A$1". How can I make it go to the cell I have currently selected? Or, how can I make my data go to a cell directly under my current table? I'd really appreciate your help.
 
Hi
maybe something like
activecell.value = "mynewvalue"

--
Regards
Frank Kabel
Frankfurt, Germany

"direct macro to certain cell" <[email protected]>
schrieb im Newsbeitrag
I want to direct a macro to enter data in the cell I have currently
selected. Right now my destination is set to range "$A$1". How can I
make it go to the cell I have currently selected? Or, how can I make
my data go to a cell directly under my current table? I'd really
appreciate your help.
 
Or, how can I make my data go to a cell directly under my current table?
I'd really appreciate your help.

To make the data go to the cell below your selection try:

ActiveCell.Offset(1,0).Value = "mynewvalue"

HTH
Regards,
Howard

direct macro to certain cell said:
I want to direct a macro to enter data in the cell I have currently
selected. Right now my destination is set to range "$A$1". How can I make
it go to the cell I have currently selected? Or, how can I make my data go
to a cell directly under my current table? I'd really appreciate your help.
 

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

Back
Top