Hi All I have created a macro to identify a word "and" and highlight it in a word document First Look at my Macro Function Public Sub AmESerialComma() CheckDate TurnOnTrackChanges Call Home With Selection.Find .ClearFormatting .Text = ",[!.]@ and [!.]@." .MatchWildcards = True .Execute Do While .Found With Selection.Range.Duplicate .Find.Execute FindText:=" and " .Start = .Start + 1: .End = .End - 1 .HighlightColorIndex = wdBrightGreen End With .Execute Loop End With Call Home RestoreTrackChanges End Sub My problem is that when it Goes In "With Selection.Range.Duplicate" Loop the first time it Capture "and" & highlight it .but next time "Selection.Range.Duplicate" is always comes Empty..So its going in Infinite Loop... Can Any Body solve this problem,,I think after Highligting the text its not getting out from loop.. Please Show me some way
Sachin Dubey
Posts
-
Selection.Range.DupliCate.Find Problem -
Session Object..Hi All. I have a question that i keen to know.. Is Session is property of Server or Browser..Or Page.. i want the answer with reason Thanks in advance.
-
This SqlTransaction has completed; it is no longer usablewhat actually the error is?? Ithink You Write it InCorrectly You Write Response.Redirect("~/NewInc.aspx");
-
Vertical and Horizontle scroll bars in a dropdownlistDear First you tell me on which Architechture your website is?? after that For silverlight you have to Make a Custom Usercontrol of dropdown... But Vertical Horizontal bars are inbuilt in ASP.net..but for horizontal it cant be posible in ASP.net Only Solution You Set a width to your Dropdown And you Put only this dropdown in your TR Or TD
-
Vertical and Horizontle scroll bars in a dropdownlistNo Vertical Scrollers are inbuilt in dropdown.... It will automaticaly generated.. But as far as Horizontal is cocerned i dont think so.. The only Solution you have to fix the width of dropdown or you do this in Silverlight
-
FavIcon.Ico ProblumHI All My Friends.. I am trying to implement image in my Addressbar in Browser.. My Code is Below:Its Not working..
-
ASPNET USERS & MembershipHi All... I am using ASPNET MembershipProvider with some Roles. After authentication for user i want to get his Role. how is it possible?? i tried but Roleprovider is giving all users in particular Role.. I want That Logged in User's Role in Session.. Thanks & Regards Sachin
-
HTML FONTHi Ther i tried it Like It doesnt Work
-
HTML FONTHow shuld i use it.. there is no tag comming in Intellisense...:confused:
-
HTML FONTHi All Is there any style is HTML so that i Can blink My Label font
-
How to edit Master Pageyou can use like this... if(UserHasPermission) { Control ctr=this.Master.Findcontrol("ControlID") as Control; ctr.Enabeled=True; }
-
Nested Datalist Control...HI all.. I Have n number of categories... and each category have n number of products... now i have to show like ============================================================================================================== Category 1: View All Product1 Product2 Product3 Product4 Product5 More In Category1 ============================================================================================================== Category 2: View All Product1 Product2 Product3 Product4 Product5 More In Category2 ============================================================================================================== Category 3: View All Product1 Product2 Product3 Product4 Product5 More In Category3 ============================================================================================================== this is the layout Desired... Can i use 2 datalist in which parent has vertical orientation with showing Category name... and children will show the 5 products in this category... Is It Possible...I Have to Use Object Datasource for doing this... and one more ques.. how i do paging for that?? Many Thanx in advance
-
Twitter/Facebook integrationLink for facebook this.lnkfacebook.NavigateUrl="http://www.facebook.com/submit?url=" + this.Request.Url;
-
question from slide show control.Use Jquery Cyclic Plugin and bind it with ur images or from data base
-
TreeView Control In ASP.netIs It Any Control like object datasource or anything else...
-
TreeView Control In ASP.netyes i want to bind data from db only but only using objectdatasource.. how can i handel the node click to show subcategories..
-
TreeView Control In ASP.netwhat shuld be the process flo in this... i never used treeview with datasource i only used with javascript..
-
when i upload my code i got this errorOnly thing u can do to catch the error.. u go and debug that site on ur server where u published this site.. there actual error u get...
-
TreeView Control In ASP.netHi All friends.. I Have 2 tabels for categories and subcategories.. Which i have to show by Treeview control.. i have some restrictions that i cant use javascript. And i have to use object datasource..
-
Translation Of C# Class to XML And Vice versaThanks A Lot Brother!!! Cheers