LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Creating command buttons beside every row to execute each row macro

Greetings,

thanks to anybody who reads this

I got sales data exported as excel. each row contains an item and al
its data, cost, tax, end price, shipping cost, and so on.

basically i got a macro that records all the varous costs and tells m
my end profit per item.

but i keep adding more items every week so i was thinking about makin
a row specific button that would execute the macro for that row only.
that way i could calculate each new row only, or recalculate older row
if i need to alter teh data.

this would require a command button for each row, preferaby consistin
of the size/shape of the last cell of each row.

is this even possible? to make an entire colume of command buttons fro
cells?

the only other alternative would be to use an isempty thing to star
from the top each time and skip over all the ones with answers alread
filled, untill it gets to the new ones, and only calculate those.

i am not sure exactly how to code either, but of course i would onl
want to tackle the one that is simplist.

any suggestions?
i think from my limited vba sklls that the isempty route might b
easiest.

i am not sure how to make it check cells down a column, skip the row i
it is already filled, or execute my existing sub if its empty.

any help is appreciated, i spend 15 hrs making my simple profi
calculator and this would just make it perfect.

sirrif

--
Message posted from http://www.ExcelForum.com

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Macro Buttons and formatting Big H Excel Discussion (Misc queries) 0 November 1st 06 10:08 PM
How do I execute buttons in Excel using a voice command? Rick Drabek Excel Discussion (Misc queries) 0 November 11th 05 10:01 PM
How do I execute command from button or hyperlink? rerhart Excel Discussion (Misc queries) 1 February 18th 05 09:41 PM
Execute a menu command with VBA? Susan[_3_] Excel Programming 2 May 1st 04 07:45 AM
creating buttons with a macro mike Excel Programming 3 January 26th 04 08:25 PM


All times are GMT +1. The time now is 03:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"