Computing.Net > Forums > Windows NT > Excel macro problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Excel macro problem

Reply to Message Icon

Name: Jon Harrison
Date: March 19, 1999 at 11:53:38 Pacific
Comment:

I have a user who created a macro that formats the cell color of the selected
cell(s). The macro works fine until it's attached to a button. When the
button is clicked the cell selector moves to a specific cell everytime and
formats that one cell. Any ideas? Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: jhenager
Date: March 28, 1999 at 08:51:33 Pacific
Reply:

Sounds like when the macro is attached to the button, Excel is using the currently selected cell as the object. Best way to make sure you change the cells you want is to mark them and name them as a range. Then use the range name as the destination for any formatting. Hope this helps.


0

Response Number 2
Name: Ahmed
Date: February 28, 2000 at 17:01:30 Pacific
Reply:

I have developed a workbook that solves simultaneous equations using the Solver. When I try to record the process using Macro, and execute, the VBA editor pops up with an error message: "Sub or Function not defined". I can't program on VBA. Does anyone know if it is possible to automate the Solver option on Excel instead of going through Tools->Solver process every time?


0

Response Number 3
Name: Michael
Date: April 3, 2000 at 23:25:34 Pacific
Reply:

I have developed a macro to assign different colour to a range of number ie: 0-100 blue, 101 to 200 red and so on. Using the "conditional" function. But this function only allow me to have 3 colours max. Is there a way i can increase this to 5 or more. thanks


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Excel macro problem

creating variables in excel macros www.computing.net/answers/windows-nt/creating-variables-in-excel-macros/10574.html

exl Macro Problem www.computing.net/answers/windows-nt/exl-macro-problem/20442.html

Out of Stack Space? www.computing.net/answers/windows-nt/out-of-stack-space/617.html