Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all
does anyone have examples of vba code that adding vba code line? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think you may have to provide us with a more detailed description of what
you are trying to do. Rick "thread" wrote in message ... Hi all does anyone have examples of vba code that adding vba code line? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim StartLine As Long
With ActiveWorkbook.VBProject.VBComponents("Module1").C odeModule StartLine = .CountOfLines + 1 .InsertLines StartLine, _ "Sub TestProc()" & vbCrLf & _ "Dim ans" & vbCrLf & _ " ans = Msgbox( ""All OK"",vbYesNo)" & vbCrLf & _ " If ans = vbNo Then Cancel = True" & vbCrLf & _ "End Sub" End With -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "thread" wrote in message ... Hi all does anyone have examples of vba code that adding vba code line? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
All explained nicely he
http://www.cpearson.com/excel/vbe.aspx RBS "thread" wrote in message ... Hi all does anyone have examples of vba code that adding vba code line? |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On 5 פברואר, 23:50, "RB Smissaert"
wrote: All explained nicely hehttp://www.cpearson.com/excel/vbe.aspx RBS "thread" wrote in message ... Hi all does anyone have examples of vba code that adding vba code line?-הסתר טקסט מצוטט- -הראה טקסט מצוטט- thank you very much |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
can someone help me with these 8 lines of code | Excel Programming | |||
can someone help me with these 8 lines of code | Excel Programming | |||
Shorten code to apply to all sheets except a few, instead of individually naming them, and later adding to code. | Excel Programming | |||
How to see how many lines of code ? | Excel Programming | |||
Code to write out all lines of code | Excel Programming |