Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am attempting to create a multi line macro in Excel, but when I run it, it
only prints the first line. I have tried creating the new line by both pressing return and also by just moving the cursor down to the next line, but when running the macro get the same result. Any suggestions as to how I overcome this problem? -- gillj |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You'll have to provide more detail here. We need to know what your macro
must achieve, and seeing your code will help us to help you "gillj" wrote: I am attempting to create a multi line macro in Excel, but when I run it, it only prints the first line. I have tried creating the new line by both pressing return and also by just moving the cursor down to the next line, but when running the macro get the same result. Any suggestions as to how I overcome this problem? -- gillj |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It would help if we could see the Macro. Could you post what you've got so
far, and give a bit more description on what you want it to do. When you say "multi line" are you referring to lines within the Macro, rows in the spreadsheet, or lines withing a cell? "gillj" wrote: I am attempting to create a multi line macro in Excel, but when I run it, it only prints the first line. I have tried creating the new line by both pressing return and also by just moving the cursor down to the next line, but when running the macro get the same result. Any suggestions as to how I overcome this problem? -- gillj |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() -- The macro is for use in producing invoices, the template for which is set up in Excel. The majority of my invoices use exactly the same wording, i.e. Collect defective item and transport to our workshop Strip item Clean parts Etc. What has been happening is that when I run the macro it only prints the first line unless I position the cursor in exactly the same cell as the starting point when creating the macro. It would not be possible for me to do this. Since my original posting, I have discovered that my problem is to do with relative references. However, I have tried recording a macro with the feature turned on, and then with it turned off, and the result is the same each time. A further problem which has just occurred is that when I press the €˜record macro button, the stop recording toolbar which contains the relative reference button no longer appears on the screen. Whats happened to it? How do I get it back? I would be grateful for any help on this as I have been struggling to resolve it myself for some now.. gillj "kassie" wrote: You'll have to provide more detail here. We need to know what your macro must achieve, and seeing your code will help us to help you "gillj" wrote: I am attempting to create a multi line macro in Excel, but when I run it, it only prints the first line. I have tried creating the new line by both pressing return and also by just moving the cursor down to the next line, but when running the macro get the same result. Any suggestions as to how I overcome this problem? -- gillj |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Gillj,
As Elkar says, better to post your macro. Sounds like you need to create a print range, or a named range to refer to, to get your macro to print what you need, but really not enough info to go by. To get your stop recording button back, click on Tools|Customize, select toolbars, and tick Stop Recording. After that, when you want to stop a recording, NEVER use the little X, instead, click on the square button "Elkar" wrote: It would help if we could see the Macro. Could you post what you've got so far, and give a bit more description on what you want it to do. When you say "multi line" are you referring to lines within the Macro, rows in the spreadsheet, or lines withing a cell? "gillj" wrote: I am attempting to create a multi line macro in Excel, but when I run it, it only prints the first line. I have tried creating the new line by both pressing return and also by just moving the cursor down to the next line, but when running the macro get the same result. Any suggestions as to how I overcome this problem? -- gillj |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? | Excel Discussion (Misc queries) | |||
How to remove excel macros still there after normal delete? | Excel Discussion (Misc queries) | |||
I deleted all macros in Excel but still get dialog box | Excel Discussion (Misc queries) | |||
Are macros created in Excel 2003 compatible with Excel 5.0/95? | Excel Discussion (Misc queries) | |||
How do I update Excel 2000 macros to work in Excel 2002? | Excel Discussion (Misc queries) |