How do I get a range's address including the worksheet name, but not the workbook name, in Excel VBA?

前端 未结 11 1463
眼角桃花
眼角桃花 2020-12-25 10:34

If I have a Range object--for example, let\'s say it refers to cell A1 on a worksheet called Book1. So I know that calling Address()

11条回答
  •  感情败类
    2020-12-25 11:07

    For confused old me a range

    .Address(False, False, , True)

    seems to give in format TheSheet!B4:K9

    If it does not why the criteria .. avoid Str functons

    will probably only take less a millisecond and use 153 already used electrons

    about 0.3 Microsec

    RaAdd=mid(RaAdd,instr(raadd,"]") +1)

    or

    'about 1.7 microsec

    RaAdd= split(radd,"]")(1)

提交回复
热议问题