Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi al
I'm not very good at writing Macros (I cheat alot and manually record them, then make minor changes when needed).. Here I don't know the codes to enter to replace specific selections.. I need to change "Range("Q20:BP20").Select" to specify cells in columns Q:BP for the current selected ro I also need to change the last action to re-select original active.cell If I wanted to copy that macro and change the range selection to be whatever the user has just selected (ie current.selection), how do I write that Sub Macro1( ' Macro1 Macr ' Macro recorded 6/05/2004 by BeSmar Range("Q20:BP20").Selec Selection.NumberFormat = "0 Range("Q20").Selec End Su Also, where is the best website to go and learn (basic dummy version) about writing, reading and understanding Macro/VBA code, ie the language and actions etc.. (eg I found cpearson.com really helpful for excel formula information - especially the excel-help download, is there anything like that to explain Macros and the definition of codes? (I don't have VBA help installed on my laptop and the install disc's are 4 hours drive away in the head office.... Sorry for the basic question. Any help greatly appreciated. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Format drop down option won't open on selected cells | Excel Discussion (Misc queries) | |||
Macro to Saved Selected Excel data to .CSV format | Excel Discussion (Misc queries) | |||
How to save selected cells as jpeg or pdf or webpage format? | Excel Worksheet Functions | |||
How to save selected cells as jpeg or pdf or webpage format? | Excel Discussion (Misc queries) | |||
Format cells if hovered over or selected | Excel Discussion (Misc queries) |